Skip to content

Topic: Combinatorics

47 problems
#TitleStatusDifficulty
62Unique PathsMedium
458Poor PigsreadHard
920Number of Music PlaylistsreadHard
1201Ugly Number IIIreadMedium
1359Count All Valid Pickup and Delivery OptionsreadHard
1467Probability of a Two Boxes Having The Same Number of Distinct BallsreadHard
1569Number of Ways to Reorder Array to Get Same BSTreadHard
1621Number of Sets of K Non-Overlapping Line SegmentsreadMedium
1641Count Sorted Vowel StringsreadMedium
1643Kth Smallest InstructionsreadHard
1735Count Ways to Make Array With ProductreadHard
1830Minimum Number of Operations to Make String SortedreadHard
1863Sum of All Subset XOR TotalsEasy
1866Number of Ways to Rearrange Sticks With K Sticks VisiblereadHard
1916Count Ways to Build Rooms in an Ant ColonyreadHard
2063Vowels of All SubstringsMedium
2221Find Triangular Sum of an ArrayreadMedium
2338Count the Number of Ideal ArraysreadHard
2400Number of Ways to Reach a Position After Exactly k StepsreadMedium
2514Count AnagramsreadHard
2597The Number of Beautiful SubsetsreadMedium
2842Count K-Subsequences of a String With Maximum BeautyreadHard
2928Distribute Candies Among Children IreadEasy
2929Distribute Candies Among Children IIreadMedium
2930Number of Strings Which Can Be Rearranged to Contain SubstringreadMedium
2954Count the Number of Infection SequencesreadHard
2963Count the Number of Good PartitionsHard
3116Kth Smallest Amount With Single Denomination CombinationreadHard
3128Right TrianglesreadMedium
3154Find Number of Ways to Reach the K-th StairreadHard
3179Find the N-th Value After K SecondsreadMedium
3250Find the Count of Monotonic Pairs IreadHard
3251Find the Count of Monotonic Pairs IIreadHard
3272Find the Count of Good IntegersreadHard
3312Sorted GCD Pair QueriesreadHard
3317Find the Number of Possible Ways for an EventreadHard
3343Count Number of Balanced PermutationsreadHard
3352Count K-Reducible Numbers Less Than NreadHard
3395Subsequences with a Unique Middle Mode IreadHard
3405Count the Number of Arrays with K Matching Adjacent ElementsreadHard
3426Manhattan Distances of All Arrangements of PiecesreadHard
3428Maximum and Minimum Sums of at Most Size K SubsequencesreadMedium
3461Check If Digits Are Equal in String After Operations IreadEasy
3463Check If Digits Are Equal in String After Operations IIreadHard
3470Permutations IVreadHard
3518Smallest Palindromic Rearrangement IIreadHard
3539Find Sum of Array Product of Magical SequencesreadHard