Statement
This maxWindowSum(nums, k) works: it returns the largest sum of k numbers in a row (1 ≤ k ≤ the list's length). But it recomputes every run from scratch and, with many years of sales and a big k, it doesn't finish in time. Make it fast and explain why it was slow.