Skip to content

Topic: Combinatorics

47 problems
TitleStatusDifficulty
Unique PathsMedium
Poor PigsHard
Number of Music PlaylistsHard
Ugly Number IIIMedium
Count All Valid Pickup and Delivery OptionsHard
Probability of a Two Boxes Having The Same Number of Distinct BallsHard
Number of Ways to Reorder Array to Get Same BSTHard
Number of Sets of K Non-Overlapping Line SegmentsMedium
Count Sorted Vowel StringsMedium
Kth Smallest InstructionsHard
Count Ways to Make Array With ProductreadHard
Minimum Number of Operations to Make String SortedHard
Sum of All Subset XOR TotalsEasy
Number of Ways to Rearrange Sticks With K Sticks VisibleHard
Count Ways to Build Rooms in an Ant ColonyHard
Vowels of All SubstringsMedium
Find Triangular Sum of an ArrayMedium
Count the Number of Ideal ArraysHard
Number of Ways to Reach a Position After Exactly k StepsMedium
Count AnagramsHard
The Number of Beautiful SubsetsreadMedium
Count K-Subsequences of a String With Maximum BeautyreadHard
Distribute Candies Among Children IEasy
Distribute Candies Among Children IIMedium
Number of Strings Which Can Be Rearranged to Contain SubstringMedium
Count the Number of Infection SequencesHard
Count the Number of Good PartitionsHard
Kth Smallest Amount With Single Denomination CombinationreadHard
Right TrianglesMedium
Find Number of Ways to Reach the K-th StairHard
Find the N-th Value After K SecondsMedium
Find the Count of Monotonic Pairs IHard
Find the Count of Monotonic Pairs IIHard
Find the Count of Good IntegersHard
Sorted GCD Pair QueriesHard
Find the Number of Possible Ways for an EventreadHard
Count Number of Balanced PermutationsHard
Count K-Reducible Numbers Less Than NreadHard
Subsequences with a Unique Middle Mode IreadHard
Count the Number of Arrays with K Matching Adjacent ElementsHard
Manhattan Distances of All Arrangements of PiecesHard
Maximum and Minimum Sums of at Most Size K SubsequencesMedium
Check If Digits Are Equal in String After Operations IEasy
Check If Digits Are Equal in String After Operations IIHard
Permutations IVHard
Smallest Palindromic Rearrangement IIHard
Find Sum of Array Product of Magical SequencesreadHard