Given a vector of how many 1s in each column , find the maximum area of rectangle which only contains 1s.
Answers
Answered by
0
Answer:
Step-by-step explanation:
Input :
mat[][] = { 1 0 0 1 0
0 0 1 0 1
0 0 0 1 0
1 0 1 0 1}
Output : Yes
as there exists-
1 0 1
0 1 0
1 0 1
Hope it helps you...
Similar questions