Solving Fibonacci-like problems in constant time | Hacker News Reader