Kadane's Algorithm and Its Proof | Hacker News Reader