0

/*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
Er Sushil
  • 1,361
  • 2
  • 11
  • 18

0 Answers0