ClusterConcept
In-Place Rotation Aliasing
cluster-58
Shared references get reused across matrix-rotation steps because assignments like mat = ans alias the same nested array, so later rotations mutate earlier state and the final matrix no longer matches the target layout.