Hacker News new | ask | show | jobs
by ianbishop 5125 days ago
Yeah, I didn't realize it was 1-indexed until you guys pointed it out.

Unsurprisingly, it still works (it just loops a few too many times).