โ† PayU questions

Rotate square matrix by 90 degrees in O(1) space

Filed under PayU

The question

Rotate a given square matrix by 90 degrees using O(1) extra space and write complete code for it.

No write-up yet. Related questions below have one.

Related PayU questions

Collected from public candidate posts and coding forums. Updated Nov 2026.