The most unexpected question was to write a program that would take a 3x3 matrix and move around the values. [[1 2 3][4 5 6][7 8 9]] -> [[9 8 7][6 5 4][3 2 1]] like this.
Anonymous
Is it just kind of like temp=a[i];a[i]=a[n-i];a[n-i]=temp?
Check out your Company Bowl for anonymous work chats.