Problem : RANKLIST
Solution : Link
I am unable to figure out where i am wrong. Please help. Thanks in Advance.
Input: 1 11 17
Correct output: 7 Your output: 6