Rotate a Square Matrix Clockwise While Both Diagonals Stay Fixed
Company: SIG (Susquehanna)
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Online Assessment
Overview: Rotate every element of a square matrix that lies off both diagonals by 90 degrees clockwise a given number of times, leaving the main-diagonal and anti-diagonal values in place. It tests precise index mapping, handling of odd and even matrix sizes, and bug-free simulation under timed assessment conditions.
Read the full SIG (Susquehanna) Software Engineer interview experience this question came from