Streaks, Online Hiring Problem, Start Threads




CS255

Chris Pollett

Feb 4, 2015

Outline

Introduction

Streaks

Suppose you flip a fair coin n times. What is the longest streak of consecutive heads you expect to see?

Upper Bound on Streaks

Bounding `E[L]`

Using Indicator Variables for Lower Bound Intuition

The On-Line Hiring Problem

More on the On-line Hiring Problem

Still More on the On-Line hiring Problem

Multithreaded Algorithms

Dynamic Multithreaded Programming