Mutate a matrix by applying a list of row, column and rotation commands.
Unlock detailed company stats for this questionUpgrade
Apply a list of commands to a matrix. Commands: swap rows, swap columns, reverse a row, reverse a column, rotate the matrix 90 degrees. No exact LeetCode match; it resembles a combination of Rotate Image, Set Matrix Zeroes, Transpose Matrix, Shift 2D Grid and Flipping an Image.
Format · Capital One CodeSignal OA.
Community answers
No answers contributed by the community yet.
Related questions
Given a matrix and a set of commands (swapRows, swapCols, rotate90), perform them on the matrix.Search in a row- and column-sorted matrix.Related courses

Course

Course
Course
