14(March) Largest subsquare surrounded by X
14. Largest Subsquare Surrounded by X
Problem Description
Input:
n = 2
a = [[X,X],
[X,X]]
Output:
2
Explanation:
The largest square submatrix
surrounded by X is the whole
input matrix.My Approach
Code (Python)
Contribution and Support
📍Visitor Count
Previous13(March) Print matrix in diagonal patternNext15(March) Linked List that is Sorted Alternatingly
Last updated