Doubt in my code

Hello, here is my code but why all the testcases are failing ?

hello @yashsharma4304

the output order was not matching.

check now->

a) first consider exclude case and then include case

1 Like

Ok now I understand what was the problem with it. Thank you for resolving my doubt.

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.

1 Like