Computing Ranges in Constant Time | Hacker News Reader