Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hamzalive
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
hamzalive
10y ago
200010000 not 199990000 probably the author looped on a 0-based index. n*(n+1)/2 is even better ^^ Nice post mortem though