All test case not working

Test case 2 isn’t working. Not able to find my mistake.

Hey @sukritbansal01
After erasing some entry the location of next entry will become different
So instead of erasing while taking input psuh the pair only if slary>x

Got it! Thank you so much

1 Like