Check whether Matrix T is a result of one or more 90° rotations of Matrix mat
Given two 2D matrices mat[][] and T[][] of size MÃN and PÃQ respectively. The task is to check whether the matrix T[][] is a result of one or more 90° rotations of the matrix mat[][]. Examples: Input: mat[][] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, T[][] ={{7, 4, 1}, {8, 5, 2}, {9, 6, 3}}Output: YesExp