Painter's partition problem

Sir I don’t understand where the problem in my code is and which test cases are failing. I am able to pass 50 percent of the test cases when i submit my answer in hacker blocks.

code: https://ide.codingblocks.com/s/651910

nevermind i figured it out :slight_smile:

1 Like

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.