Given a binary matrix, find out the maximum size square sub-matrix with all 1s.
For example, consider the below binary matrix.


Please suggest solution to this in comment section.
[['F', 'A', 'C', 'I'],
['O', 'B', 'Q', 'P'],
['A', 'N', 'O', 'B'],
['M', 'A', 'S', 'S']]
Given a binary matrix, find out the maximum size square sub-matrix with all 1s. For example, consider the below binary matrix. Please...