Patterns: stacks, queues, lists, matrices, bits

Episode 28 Bit Manipulation

15 min · Java · Quiz

Title card of Episode 28: Bit Manipulation

▶ This video is coming to YouTube soon.

You'll solve LeetCode 136, 191, 338 and 371 with XOR, n & (n − 1), reusing earlier answers and carry arithmetic.

Quiz: test yourself

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