Dynamic Programming for Technical Interviews
&gt; problems on DP are pretty standard in most product-company-based hiring challenges<p>This is sad and a little surprising to me. I&#x27;ve always thought of DP problems as being obviously terrible interview questions, even among the different types of algo questions (which are already heavily criticized). Candidates who have learned DP in school usually find them really easy, and candidates who haven&#x27;t usually don&#x27;t even have a chance at solving them, so really they just test whether the person has learned DP, rather than other algo problems where you can at least try to claim that it&#x27;s a proxy for &quot;general problem solving ability&quot;. And DP comes up almost never in the real world (and when it does come up, you&#x27;re often still better off taking a heuristic&#x2F;inexact approach), so testing if the candidate knows DP is also almost completely useless.<p>If you&#x27;re an interviewer at a company that asks DP questions, please reconsider. There are almost certainly alternatives that are more fair and higher-signal.