Determine Whether Matrix Can Be Obtained By Rotation

给两个nxn矩阵, 问是否能通过连续翻转90度得到另一个矩阵.