1 / 17

Part I

Probability Review. Part I. Design and Analysis of Algorithms I. Topics Covered. Sample spaces Events Random variables Expectation Linearity of Expectation See also: Lehman-Leighton notes (free PDF) Wikibook on Discrete Probability. Concept #1 – Sample Spaces. Concept #2 – Events.

zan
Download Presentation

Part I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Probability Review Part I Design and Analysis of Algorithms I

  2. Topics Covered • Sample spaces • Events • Random variables • Expectation • Linearity of Expectation See also: • Lehman-Leighton notes (free PDF) • Wikibook on Discrete Probability

  3. Concept #1 – Sample Spaces

  4. Concept #2 – Events

  5. Consider the event (i.e., the subset of outcomes for which) “the sum of the two dice is 7”. What is the probability of this event?

  6. Consider the event (i.e., the subset of outcomes for which) “the chosen pivot gives a 25-75 split of better”. What is the probability of this event?

  7. Concept #2 – Events

  8. Concept #3 - Random Variables

  9. Concept #4 - Expectation

  10. What is the expectation of the sum of two dice?

  11. Which of the following is closest to the expectation of the size of the subarray passed to the first recursive call in QuickSort?

  12. Concept #4 - Expectation

  13. Concept #5 – Linearity of Expectation

  14. Linearity of Expectation (Proof)

  15. Example: Load Balancing

  16. Load Balancing Solution

  17. Load Balancing Solution (con’d)

More Related