1-D Dynamic Programming
12 animated solutionsBuild the answer one position at a time by remembering the best sub-answer. Climbing stairs, house robbing and word breaking all share the same memoized skeleton. Every problem below plays as an animated walkthrough with solutions in Python, Java and C++. Companies that ask these most: HSBC, Adobe, Cisco.