Skip to content
Avio Lines
← Two Pointers lineD5Stop 6 of 15

Count the Number of Good Partitions (LeetCode 2963)

HardLeetCode 2963 · Same Direction / Partition · Google · 27:21Count the Number of Good Partitions · Intuition · Leetcode-2963 · Weekly Contest 375
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

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 2963 Count the Number of Good Partitions by codestorywithMIK: Two Pointers, Hard. Topics: Array, Hash Table, Math, Combinatorics. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
hard
Topics
Array, Hash Table, Math, Combinatorics
Patterns
Same Direction / Partition
Asked at
Google
Duration
27:21