Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pyyp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
pyyp
6y ago
[n//(n//g)+(i<n%g) for i in range(n//g)] Each one of (n//g) groups gets at least n//(n//g) members plus 1 if the remainder is >i.