How to use Top-down DP?
Help me by providing a top-down dp solution for these two: first, second.
If there are any type of optimizations that manages it to run in 1s please elaborate.
Full text and comments »
How many hours do you solve problems every day?
I try to solve problems for more than 2 hours every day. How many hours do you spend?
AMA: TheOneYouWant