10(July) Largest square formed in a matrix
10. Largest Square Formed in a Matrix
Problem Description
n = 6, m = 5
mat = [[0, 1, 1, 0, 1],
[1, 1, 0, 1, 0],
[0, 1, 1, 1, 0],
[1, 1, 1, 1, 0],
[1, 1, 1, 1, 1],
[0, 0, 0, 0, 0]]3My Approach
Time and Auxiliary Space Complexity
Code (C++)
Code (Java)
Code (Python)
Contribution and Support
📍Visitor Count
Last updated