Array Iteration Interview Problem | Hacker News Reader