Out of others Test Case 0 not passing pls help…
LINK: https://ide.codingblocks.com/s/194112
Test Case 0 not passing
Hi @vmanav
Just change the base condition of returning -1 to i==n and your code should work just fine.
Hope it Helps.
1 Like