[algogeeks] Rotate a 2-D matrix by 90 degree inplace.

2011-08-06 Thread Algo Lover
Can anyone solve this problem without using extra matrix -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] Rotate a 2-D matrix by 90 degree inplace.

2011-08-06 Thread vaibhav shukla
first transpose it now reverse colums if u want a clockwise rotation else reverse rows for anti clockwise rotation On Sat, Aug 6, 2011 at 11:48 PM, Algo Lover algolear...@gmail.com wrote: Can anyone solve this problem without using extra matrix -- You received this message because you are