Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elouataoui
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
elouataoui
10y ago
Not everyone has a Wii U either
2.
▲
by
elouataoui
10y ago
The way I'd do it if I didn't want to use ifs is to loop n times, and for each row fill the first cell and the last one. So now I have the left and right side at O(n). Then i'd loop n-1 times starting at the second column and