Various approaches to a simple interview problem | Hacker News Reader