Number of Good Pairs (LeetCode 1512)
EasyLeetCode 1512 · Two Sum Style Lookup · Google, Amazon +6 · 15:34Number of Good Pairs · 3 Approaches · META · Leetcode - 1512My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 1512 Number of Good Pairs by codestorywithMIK: Hashing, Easy. Topics: Array, Hash Table, Math, Counting. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- easy
- Topics
- Array, Hash Table, Math, Counting
- Patterns
- Two Sum Style Lookup
- Chapter
- Hashing
- Duration
- 15:34
Related problems
- Equal Row and Column Pairs (LeetCode 2352)
- Restore the Array From Adjacent Pairs (LeetCode 1743)
- Count Nice Pairs in an Array (LeetCode 1814)
- Array Pair Sum Divisibility Problem
- Check If Array Pairs Are Divisible by k (LeetCode 1497)
- Count Number of Bad Pairs (LeetCode 2364)
- Minimum Pair Removal to Sort Array II (LeetCode 3510)
- Minimum Absolute Distance Between Mirror Pairs (LeetCode 3761)