Enumeration | LeetCode Problems

67 Enumeration solutions to LeetCode solutions.

Enumeration Problems View all solutions →

Count Primes

#204 Medium

Largest Palindrome Product

#479 Hard

Ambiguous Coordinates

#816 Medium

Consecutive Numbers Sum

#829 Hard

Longest Mountain in Array

#845 Medium

Reordered Power of 2

#869 Medium

Super Palindromes

#906 Hard

Largest Time for Given Digits

#949 Medium

Powerful Integers

#970 Easy

Sequential Digits

#1291 Medium

Count Good Triplets

#1534 Easy

Detect Pattern of Length M Repeated K or More Times

#1566 Easy

Maximum Number of Achievable Transfer Requests

#1601 Hard

Count Subtrees With Max Distance Between Cities

#1617 Hard

Coordinate With Maximum Network Quality

#1620 Medium

Lexicographically Smallest String After Applying Operations

#1625 Medium

Count Substrings That Differ by One Character

#1638 Medium

Sum of All Subset XOR Totals

#1863 Easy

Count Square Sum Triples

#1925 Easy

Three Divisors

#1952 Easy

Check if Move is Legal

#1958 Medium

Count Special Quadruplets

#1995 Easy

Longest Subsequence Repeated k Times

#2014 Hard

Check if Word Can Be Placed In Crossword

#2018 Medium

Maximum Number of Ways to Partition an Array

#2025 Hard

Count Number of Maximum Bitwise-OR Subsets

#2044 Medium

Next Greater Numerically Balanced Number

#2048 Medium

Sum of k-Mirror Numbers

#2081 Hard

Finding 3-Digit Even Numbers

#2094 Easy

Recover the Original Array

#2122 Hard

Maximum Good People Based on Statements

#2151 Hard

Minimum Cost to Set Cooking Time

#2162 Medium

Removing Minimum Number of Magic Beans

#2171 Medium

Maximum Points in an Archery Competition

#2212 Medium

Minimize Result by Adding Parentheses to Expression

#2232 Medium

Maximum Total Beauty of the Gardens

#2234 Hard

Number of Ways to Buy Pens and Pencils

#2240 Medium

Maximum Score of a Node Sequence

#2242 Hard

Count Lattice Points Inside a Circle

#2249 Medium

Remove Digit From Number to Maximize Result

#2259 Easy

K Divisible Elements Subarrays

#2261 Medium

Naming a Company

#2306 Hard

Greatest English Letter in Upper and Lower Case

#2309 Easy

Number of Arithmetic Triplets

#2367 Easy

Maximum Rows Covered by Columns

#2397 Medium

Number of Common Factors

#2427 Easy

Number of Valid Clock Times

#2437 Easy

Create Components With Same Value

#2440 Hard

Sum of Number and Its Reverse

#2443 Medium

Split Message Based on Limit

#2468 Hard

Form Smallest Number From Two Digit Arrays

#2605 Easy

Sum of Squares of Special Elements

#2778 Easy

Count Symmetric Integers

#2843 Easy

Happy Students

#2860 Medium

Distribute Candies Among Children I

#2928 Easy

Distribute Candies Among Children II

#2929 Medium

Minimum Operations to Maximize Last Elements in Arrays

#2934 Medium

Count Beautiful Substrings I

#2947 Medium

Find the Peaks

#2951 Easy

Count the Number of Incremovable Subarrays I

#2970 Easy

Divide an Array Into Subarrays With Minimum Cost I

#3010 Easy

Find the Number of Ways to Place People I

#3025 Medium

Find the Number of Ways to Place People II

#3027 Hard

Most Frequent Prime

#3044 Medium

Apply Operations to Make Sum of Array Greater Than or Equal to k

#3091 Medium

Find the Count of Good Integers

#3272 Hard

Find the Lexicographically Largest String From the Box I

#3403 Medium