Approach bases doubt

Can you help me approaching this question

hi @hemantomer1 you have to minimise the amount of time taken to paint all boards, so you can apply binary search to find time. If a certain time is enough, you can try to further reduce that time, and if that time is not enough, you will have to increase the search space. You will have to make a separate function of return type bool to check whether a certain time is enough to paint all the boards or not.

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.