Skip to content
Nothing edited this page Nov 8, 2020 · 3 revisions

https://leetcode.com/problems/maximum-profit-in-job-scheduling/discuss/409009/JavaC++Python-DP-Solution/368880

greedy is a specific kind of DP, and DP is a general greedy.
greedy -> local optimization
dp -> global optimization

Clone this wiki locally