RealAmitShah's blog

By RealAmitShah, history, 4 years ago, In English

Given a square matrix mat[][] of size N x N. The task is to rotate it by 90 degrees in anti-clockwise direction without using any extra space.
Problem Link
if anyone could look at my code and tell where am I going wrong, PLEASE

code
  • Vote: I like it
  • -10
  • Vote: I do not like it