Parathas code problem

giving wrong answer for few test cases

Hello @rohit_1906,

You may refer to the following code for your mistake:

Let me know if you still face any issue.
I’ll correct your code for you.

sorry but your code is giving a tle
i tried correcting my code comparing with yours …still few test cases are left


please help…
why and where are you using policy based ds in the main code?

Hey @rohit_1906,

I might have shared the incorrect code with you.

Check the following code for logic:

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.