Exercise: Rob House Pattern
OriginalAbout 6820 words
Prerequisites
Before reading this article, you should first learn:
For dynamic programming problems, readers often say they don't know how to define the dp
function/array. Do not be intimidated; try to align with known problems and algorithm frameworks, and proceed step by step to find breakthroughs.
This article lists some problems whose solution ideas are somewhat similar to the House Robber Series Problems, which can help enhance your problem-solving abilities in this category.