How to calculate the Big-O of something | Hacker News Reader