Repository navigation
fix(curriculum): align dynamic programming review with Python module - #71557
Conversation
majestic-owl448
left a comment
There was a problem hiding this comment.
I corrected the scope of #71530. The request to add a classification of common problem patterns was not justified by the lesson.
Please remove the added "Common Problem Patterns" section. The lesson names these categories in a closing sentence but does not teach decision problems:
Also replace "Under the arithmetic cost model" with an explicit explanation of the assumptions, such as "Treating each arithmetic operation as constant time and each stored count as one unit of space". The lesson does not introduce the term "arithmetic cost model".
The staircase setup, complexity comparison, constant-space example, and coin-change summary address the four remaining requirements.
|
Thanks for the feedback @majestic-owl448! I have removed the 'Common Problem Patterns' section to match the scope of the lesson, and updated the constant-space optimization explanation to explicitly state the assumptions ('Treating each arithmetic operation as constant time and each stored count as one unit of space'). |
majestic-owl448
left a comment
There was a problem hiding this comment.
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝
Checklist:
Closes #71530
Description
Aligns the Dynamic Programming Review with the concepts taught in the Python module (What Is Dynamic Programming and What Are Some Common Algorithms?):