Loading page…
A budgeting app wants the best streak of a history of 100,000 days. The lesson splits the days in halves, solves each half, and combines the answers, including the run that crosses the middle. It reads the cost from the recursion tree, solves a half once for fast power, and shows when halves do not help.
A budgeting app at a bank shows the best streak of a user's history.