Tag: combinatorics
- Check If Digits Are Equal in String After Operations I
- Check If Digits Are Equal in String After Operations II
- Count All Valid Pickup and Delivery Options
- Count Anagrams
- Count K-Reducible Numbers Less Than N
- Count K-Subsequences of a String With Maximum Beauty
- Count Number of Balanced Permutations
- Count Sorted Vowel Strings
- Count the Number of Arrays with K Matching Adjacent Elements
- Count the Number of Good Partitions
- Count the Number of Good Subsequences
- Count the Number of Ideal Arrays
- Count the Number of Infection Sequences
- Count the Number of K-Free Subsets
- Count Ways to Build Rooms in an Ant Colony
- Count Ways to Make Array With Product
- Distribute Candies Among Children I
- Distribute Candies Among Children II
- Distribute Candies Among Children III
- Find Number of Ways to Reach the K-th Stair
- Find the Count of Good Integers
- Find the Count of Monotonic Pairs I
- Find the Count of Monotonic Pairs II
- Find the Derangement of An Array
- Find the N-th Value After K Seconds
- Find the Number of Possible Ways for an Event
- Find Triangular Sum of an Array
- Kth Smallest Amount With Single Denomination Combination
- Kth Smallest Instructions
- Manhattan Distances of All Arrangements of Pieces
- Maximum and Minimum Sums of at Most Size K Subsequences
- Minimum Number of Operations to Make String Sorted
- Number of Music Playlists
- Number of Sets of K Non-Overlapping Line Segments
- Number of Strings Which Can Be Rearranged to Contain Substring
- Number of Subsequences with Odd Sum
- Number of Ways to Reach a Position After Exactly k Steps
- Number of Ways to Reach Destination in the Grid
- Number of Ways to Rearrange Sticks With K Sticks Visible
- Number of Ways to Reorder Array to Get Same BST
- Permutations IV
- Poor Pigs
- Probability of a Two Boxes Having The Same Number of Distinct Balls
- Right Triangles
- Sorted GCD Pair Queries
- Subsequences with a Unique Middle Mode I
- Subsequences with a Unique Middle Mode II
- Sum of All Subset XOR Totals
- The Number of Beautiful Subsets
- Ugly Number III
- Unique Paths
- Vowels of All Substrings