2nd test case for this question https://hack.codingblocks.com/contests/c/916/86
is showing wrong answer
Please help
Here is my solution https://ide.codingblocks.com/s/97036
Sorted ARRAY one test case getting failed
Hi @ranjanpanda, pls check your line no. 8. What does it want to do and what actually is it doing.
1 Like
It passed all the test cases. Thank you so much.