please help me
my code passes only one test case and other test cases have run-time error please help
Run-error in the test cases
Hi arvind,
Your code is giving index out of bounds for many test cases at line 58 i.e.
v.remove(result);
Please provide a check above it
i.e. if(result<v.size())
I did that but still one test case is giving wrong answer
please help what to do