Leetcode 3643. Flip Square Submatrix Vertically
Given an m×n integer matrix and top-left coordinates (x, y) with side length k, reverse the order of rows inside that k×k submatrix (i.e., flip it vertically) and return the updated matrix.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.