for wednesday
play

For Wednesday Read chapter 10, section 3 Homework Chapter 10, - PowerPoint PPT Presentation

For Wednesday Read chapter 10, section 3 Homework Chapter 10, exercise 10 Program 4 Any questions? Research Paper Any questions? Bin Packing Off-Line Strategies First Fit Decreasing Best Fit Decreasing Divide and


  1. For Wednesday • Read chapter 10, section 3 • Homework – Chapter 10, exercise 10

  2. Program 4 • Any questions?

  3. Research Paper • Any questions?

  4. Bin Packing

  5. Off-Line Strategies • First Fit Decreasing • Best Fit Decreasing

  6. Divide and Conquer • Basic Concept – Break a problem into pieces – Solve the problem for each piece – Combine the solutions to create the solution for the entire problem • Recursion – The divide and conquer concept is recursive – Implementations of divide and conquer algorithms may or may not be recursive

  7. Finding a Counterfeit Coin

  8. Familiar Divide and Conquer Algorithms • What algorithms have we looked at that fit this type?

  9. Familiar Divide and Conquer Algorithms • Quicksort • Mergesort • Binary Search • Permutations • Towers of Hanoi Solution

  10. Divide and Conquer Examples • Finding max-min • Closest two points • Selection

Recommend


More recommend