Given a matrix of 'O' and 'X', find the largest subsquare surrounded by 'X' - GeeksforGeeks
Given a matrix of 'O' and 'X', find the largest subsquare surrounded by 'X'
Given a matrix where every element is either 'O' or 'X', find the largest subsquare surrounded by 'X'.
In the below article, it is assumed that the given matrix is also square matrix. The code given below can be easily extended for rectangular matrices.
Read full article from Given a matrix of 'O' and 'X', find the largest subsquare surrounded by 'X' - GeeksforGeeks
No comments:
Post a Comment