/*Given a matrix
1 0 0 1 0
0 0 1 0 1
0 0 0 1 0
1 0 1 0 1
how to Print the largest rectangle in the matrix if any, using javascript.
Output:
1 0 1
0 1 0
1 0 1
/*Given a matrix
1 0 0 1 0
0 0 1 0 1
0 0 0 1 0
1 0 1 0 1
how to Print the largest rectangle in the matrix if any, using javascript.
Output:
1 0 1
0 1 0
1 0 1