Y
Hacker News
new
|
ask
|
show
|
jobs
by
cowsandmilk
193 days ago
How horridly inefficient, he should have just flipped a Boolean on each iteration.
2 comments
kroolik
193 days ago
Horridly inefficient. Just unfold the loop.
link
projektfu
193 days ago
Just output odd and even for each pass and increment by two. Need to make sure you have the right starting value, and check for off-by-one errors.
link