CodeCollection icon indicating copy to clipboard operation
CodeCollection copied to clipboard

Rotate matrix except diagonals

Open RahulAgarwal1999 opened this issue 4 years ago • 1 comments

Given a square matrix mat[][] of dimension N and an integer K, rotate the matrix by 90 degrees K times without changing the position of the diagonal elements.

RahulAgarwal1999 avatar Oct 16 '21 08:10 RahulAgarwal1999

Thanks for opening this pull request! 🤗 Your PR will be reviewed and merged soon !! In the mean time don't forget to give a star to this repo !! Wishing you a great Hacktoberfest 2021 🙌 🎉 ⚡️

Show some ❤️

  • Consider leaving a ⭐ here.
  • Follow @hanshulll for more updates.

Say Hi on Twitter! 👋

Twitter Follow

welcome[bot] avatar Oct 16 '21 08:10 welcome[bot]