Ever wanted to go to a party at just the right time so you can hang out with all the cool people? Prof. Devadas describes an efficient, algorithmic way of finding this time and explains how you can write a program that computes the best time.
- Do one or more of the exercises in The Best Time to Party puzzle.
Programming Constructs and Algorithmic Paradigms Covered in this Puzzle
- Lists of tuples
- Nested for loops and floating-point numbers
- List splicing