# Your basic algorithms

yourbasic.org

### Algorithms

- Algorithms: What’s the problem?
- Blackjack: How to count cards
- Las Vegas vs. Monte Carlo algorithms
- What’s a seed: Random number generators
- Generate all permutations
- How to avoid initializing memory

### Data structures

#### Sorting

### Correctness

### Analysis

- How to analyse time complexity: Count your steps
- Big O notation: definition and examples
- Time complexity of recursive functions [Master theorem]
- Amortized time complexity