Available question text
Check whether performing k iterations of alternating cyclic row shifts (even-indexed rows left, odd-indexed rows right) returns the matrix to its original state; because each row is effectively rotated by k mod n positions (left for even rows, right for odd rows), verify that every row equals its corresponding rotation.
Related questions
Continue with questions that share topics or the same question type.
- Maximum Number of Matching Indices After Right Shifts
Coding
- Score After Flipping Matrix
Coding
- Sum of Matrix After Queries
Coding · Array · Hash Table
- 01 Matrix
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2946. Matrix Similarity After Cyclic Shifts
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source