Patterns: hashing, pointers, windows, binary search

Episode 20 Sliding Window II

19 min · Java · Quiz

Title card of Episode 20: Sliding Window II

▶ This video is coming to YouTube soon.

You'll solve LeetCode 76, 239, 53 and 346: a need-count window, a monotonic deque, Kadane's algorithm and a queue with a running sum.

Quiz: test yourself

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