@czonzhu

Hey I'm so curious about how do you come up with the "r = citations.length"? Cuz usually we use the last index as the right bound, i.e."r = citations.length - 1".

Here I found that if I use "r = citations.length - 1", I can't pass test case like [0], [0,0,0].... while using "r = citations.length" can perfectly pass all cases.

Just wondering how you come up with such condition! Since you seems not online for quite a while...if anyone has insights I really appreciate!