Automatic Algorithms Optimization via Fast Matrix Exponentiation | Hacker News Reader