Coding Kata – January 26 2010

1.26.2010 | Kata

Goal: Create code to rotate an N by N array 90 degrees clockwise.

Constraints: All manipulations must be made to the original array, but a single staging variable can be used.

Hmmm of the day: Can this be done for N by M arrays as well? If so, how? If not, why not?


Comments