Efficient finding unique integer | Hacker News Reader