Circular right rotate nth row or vertically down rotate nth column
Filed under Lowe's
The question
Given a matrix with r rows and c columns containing 0 or 1, and an integer n along with a bit value where 0 specifies a row and 1 specifies a column, perform a circular right rotation on the nth row or a vertical circular down rotation on the nth column.
No write-up yet. Related questions below have one.
Related Lowe's questions
Collected from public candidate posts and coding forums. Updated Nov 2026.