2 testcases failed


Can you tell me the test cases for which my solution gives wrong ans.

hi shivansh ur code seems to be fine what error message is generating

It says wrong answer for 2 test cases

shivam ur code seems to w fine’
but i think ur code is not working for larege test case due to map function like erase
as i have tried on all small combination
try to code it without that

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.