Patterns: hashing, pointers, windows, binary search

Episode 15 Arrays & Hashing I

16 min · Java · Quiz

Title card of Episode 15: Arrays & Hashing I

▶ This video is coming to YouTube soon.

You'll be able to solve LeetCode 217, 242, 169 and 268, each by brute force, a better and the best approach, and know the patterns behind them: a HashSet for have-I-seen-it, counting for how-many-of-each, Boyer–Moore voting, and the sum and XOR tricks.

Quiz: test yourself

The 3 questions from the end of the episode. Pick an answer to see why it's right.