I have many confusions regarding to this problem.
- What does the input signify in this question.
- No Idea about explaination, totally confusing.
- Also tell the hints if problem is tricky.
I have many confusions regarding to this problem.
hey @ap8730390
actually for this problem you should go with greedy approach . Acc to Question , you are basically given n*n matrix and every column line should be considered as river line . And you need to find the maximum area of land which does not intersect any river .
For implementation , you can go through this code
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.