So the speed of leetcode solutions is COMPLETELY RANDOM apparently????

So I solved the binary search problem a few hours ago

On the first run it beat 65% of other submissions, I was like meh.

A few hours later I try the exact same code again and it beat 99.8% of submissions. did it again it was 50% then 99% again, then 30%...

What the hell? how the hell am I supposed to know if my code have a decent speed?

Comments (2)