Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 34 CSE 331 Nov 30, 2009. Graded HW 8 On Wednesday.

Similar presentations


Presentation on theme: "Lecture 34 CSE 331 Nov 30, 2009. Graded HW 8 On Wednesday."— Presentation transcript:

1 Lecture 34 CSE 331 Nov 30, 2009

2 Graded HW 8 On Wednesday

3 High level view of CSE 331 Problem Statement Algorithm Problem Definition “Implementation” Analysis Correctness+Runtime Analysis Data Structures Three general techniques

4 Greedy Algorithms Natural algorithms Reduced exponential running time to polynomial

5 Divide and Conquer Recursive algorithmic paradigm Reduced large polynomial time to smaller polynomial time

6 A new algorithmic technique Dynamic Programming

7 Dynamic programming vs. Divide & Conquer

8 Same same because Both design recursive algorithms

9 Different because Dynamic programming is smarter about solving recursive sub-problems

10 End of Semester blues MondayTuesdayWednesdayThursdayFriday Project 331 HW Exam study Party! Write up a term paper Can only do one thing at any day: what is the optimal schedule to obtain maximum value? (30) (3) (2) (5) (10)

11 Previous Greedy algorithm MondayTuesdayWednesdayThursdayFriday Order by end time and pick jobs greedily Project (30) 331 HW (3) Party! (2) Exam study (5) Write up a term paper (10) Greedy value = 5+2+3= 10 OPT = 30

12 Today’s agenda Formal definition of the problem Start designing a recursive algorithm for the problem


Download ppt "Lecture 34 CSE 331 Nov 30, 2009. Graded HW 8 On Wednesday."

Similar presentations


Ads by Google