I also faced the same problem, but now I found the bug was when start==1, I was returning 0;
Read more… (19 words)
I also faced the same problem, but now I found the bug was when start==1, I was returning 0;
I also wrote the same comparision function, and having same doubt.