====== Chapter 6 Front Matter and Section 6.1: Weighted Interval Scheduling, a Recursive Approach ====== The basic idea behind dynamic programming is similar to that of divide and conquer and opposite to that of greedy: dynamic programming divides the problem into subproblems and then takes the solutions to those to create the solution to the larger problem. This leads us to think that the dynamic programming approach may reach up to the brute force search time, however we will never actually need to examine every solution to our problem explicitly. ===== 6.1 a Recursive Approach to Weighted Interval Scheduling ===== First, some notation to assist discussion. We will call p(j) the largest index i