Hi,
Please give any hint on the problem.
Balifie problem doubt
hello @vatsal50 for this question the brute force approach can be done but in optimized approach there is one trick to solve this :
you can see the page 11 in this :
Happy LEarning !!
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.