Given two mat and target, determine whether mat can be made equal to target by rotating it clockwise in increments of
Return true if mat can be made equal to target, or false otherwise.
Constraints:
n mat.length target.length
n mat[i].length target[i].length
n
mat[i][j] and target[i][j] are either
Given two mat and target, determine whether mat can be made equal to target by rotating it clockwise in increments of
Return true if mat can be made equal to target, or false otherwise.
Constraints:
n mat.length target.length
n mat[i].length target[i].length
n
mat[i][j] and target[i][j] are either