# Enumeration DSA Problems

> 113 Enumeration coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

Canonical: https://www.internhack.in/learn/dsa/enumeration
Last updated: 2026-11-28

113 enumeration problems for coding interviews and campus placements, with hints and company tags. Below are the first 100 of 113: 26 easy, 44 medium and 30 hard. Practise them free on InternHack and track what you have solved.

## Enumeration problems, easiest first

1. [Count Symmetric Integers](https://www.internhack.in/learn/dsa/problem/count-symmetric-integers) (Easy)
2. [Count Good Triplets](https://www.internhack.in/learn/dsa/problem/count-good-triplets) (Easy)
3. [Count Monobit Integers](https://www.internhack.in/learn/dsa/problem/count-monobit-integers) (Easy)
4. [Count Special Quadruplets](https://www.internhack.in/learn/dsa/problem/count-special-quadruplets) (Easy)
5. [Count Square Sum Triples](https://www.internhack.in/learn/dsa/problem/count-square-sum-triples) (Easy)
6. [Count the Number of Incremovable Subarrays I](https://www.internhack.in/learn/dsa/problem/count-the-number-of-incremovable-subarrays-i) (Easy)
7. [Detect Pattern of Length M Repeated K or More Times](https://www.internhack.in/learn/dsa/problem/detect-pattern-of-length-m-repeated-k-or-more-times) (Easy)
8. [Distribute Candies Among Children I](https://www.internhack.in/learn/dsa/problem/distribute-candies-among-children-i) (Easy)
9. [Divide an Array Into Subarrays With Minimum Cost I](https://www.internhack.in/learn/dsa/problem/divide-an-array-into-subarrays-with-minimum-cost-i) (Easy)
10. [Find the Peaks](https://www.internhack.in/learn/dsa/problem/find-the-peaks) (Easy)
11. [Finding 3-Digit Even Numbers](https://www.internhack.in/learn/dsa/problem/finding-3-digit-even-numbers) (Easy)
12. [Form Smallest Number From Two Digit Arrays](https://www.internhack.in/learn/dsa/problem/form-smallest-number-from-two-digit-arrays) (Easy)
13. [Greatest English Letter in Upper and Lower Case](https://www.internhack.in/learn/dsa/problem/greatest-english-letter-in-upper-and-lower-case) (Easy)
14. [Latest Time You Can Obtain After Replacing Characters](https://www.internhack.in/learn/dsa/problem/latest-time-you-can-obtain-after-replacing-characters) (Easy)
15. [Maximum Height of a Triangle](https://www.internhack.in/learn/dsa/problem/maximum-height-of-a-triangle) (Easy)
16. [Maximum Subarray With Equal Products](https://www.internhack.in/learn/dsa/problem/maximum-subarray-with-equal-products) (Easy)
17. [Number of Arithmetic Triplets](https://www.internhack.in/learn/dsa/problem/number-of-arithmetic-triplets) (Easy)
18. [Number of Common Factors](https://www.internhack.in/learn/dsa/problem/number-of-common-factors) (Easy)
19. [Number of Valid Clock Times](https://www.internhack.in/learn/dsa/problem/number-of-valid-clock-times) (Easy)
20. [Remove Digit From Number to Maximize Result](https://www.internhack.in/learn/dsa/problem/remove-digit-from-number-to-maximize-result) (Easy)
21. [Similar RGB Color](https://www.internhack.in/learn/dsa/problem/similar-rgb-color) (Easy)
22. [Smallest Divisible Digit Product I](https://www.internhack.in/learn/dsa/problem/smallest-divisible-digit-product-i) (Easy)
23. [Sum of All Subset XOR Totals](https://www.internhack.in/learn/dsa/problem/sum-of-all-subset-xor-totals) (Easy)
24. [Sum of Squares of Special Elements](https://www.internhack.in/learn/dsa/problem/sum-of-squares-of-special-elements) (Easy)
25. [Three Divisors](https://www.internhack.in/learn/dsa/problem/three-divisors) (Easy)
26. [Unique 3-Digit Even Numbers](https://www.internhack.in/learn/dsa/problem/unique-3-digit-even-numbers) (Easy)
27. [Ambiguous Coordinates](https://www.internhack.in/learn/dsa/problem/ambiguous-coordinates) (Medium)
28. [Apply Operations to Make Sum of Array Greater Than or Equal to k](https://www.internhack.in/learn/dsa/problem/apply-operations-to-make-sum-of-array-greater-than-or-equal-to-k) (Medium)
29. [Check if Move is Legal](https://www.internhack.in/learn/dsa/problem/check-if-move-is-legal) (Medium)
30. [Check if Word Can Be Placed In Crossword](https://www.internhack.in/learn/dsa/problem/check-if-word-can-be-placed-in-crossword) (Medium)
31. [Collecting Chocolates](https://www.internhack.in/learn/dsa/problem/collecting-chocolates) (Medium)
32. [Coordinate With Maximum Network Quality](https://www.internhack.in/learn/dsa/problem/coordinate-with-maximum-network-quality) (Medium)
33. [Count Almost Equal Pairs I](https://www.internhack.in/learn/dsa/problem/count-almost-equal-pairs-i) (Medium)
34. [Count Beautiful Substrings I](https://www.internhack.in/learn/dsa/problem/count-beautiful-substrings-i) (Medium)
35. [Count Lattice Points Inside a Circle](https://www.internhack.in/learn/dsa/problem/count-lattice-points-inside-a-circle) (Medium)
36. [Count Number of Maximum Bitwise-OR Subsets](https://www.internhack.in/learn/dsa/problem/count-number-of-maximum-bitwise-or-subsets) (Medium)
37. [Count Primes](https://www.internhack.in/learn/dsa/problem/count-primes) (Medium)
38. [Count Special Subsequences](https://www.internhack.in/learn/dsa/problem/count-special-subsequences) (Medium)
39. [Count Substrings That Differ by One Character](https://www.internhack.in/learn/dsa/problem/count-substrings-that-differ-by-one-character) (Medium)
40. [Count the Number of Substrings With Dominant Ones](https://www.internhack.in/learn/dsa/problem/count-the-number-of-substrings-with-dominant-ones) (Medium)
41. [Distribute Candies Among Children II](https://www.internhack.in/learn/dsa/problem/distribute-candies-among-children-ii) (Medium)
42. [Find Maximum Area of a Triangle](https://www.internhack.in/learn/dsa/problem/find-maximum-area-of-a-triangle) (Medium)
43. [Find the Integer Added to Array II](https://www.internhack.in/learn/dsa/problem/find-the-integer-added-to-array-ii) (Medium)
44. [Find the Lexicographically Largest String From the Box I](https://www.internhack.in/learn/dsa/problem/find-the-lexicographically-largest-string-from-the-box-i) (Medium)
45. [Find the Maximum Number of Elements in Subset](https://www.internhack.in/learn/dsa/problem/find-the-maximum-number-of-elements-in-subset) (Medium)
46. [Find the Number of Ways to Place People I](https://www.internhack.in/learn/dsa/problem/find-the-number-of-ways-to-place-people-i) (Medium)
47. [Happy Students](https://www.internhack.in/learn/dsa/problem/happy-students) (Medium)
48. [Identify the Largest Outlier in an Array](https://www.internhack.in/learn/dsa/problem/identify-the-largest-outlier-in-an-array) (Medium)
49. [K Divisible Elements Subarrays](https://www.internhack.in/learn/dsa/problem/k-divisible-elements-subarrays) (Medium)
50. [Largest Time for Given Digits](https://www.internhack.in/learn/dsa/problem/largest-time-for-given-digits) (Medium)
51. [Lexicographically Smallest Permutation Greater Than Target](https://www.internhack.in/learn/dsa/problem/lexicographically-smallest-permutation-greater-than-target) (Medium)
52. [Lexicographically Smallest String After Applying Operations](https://www.internhack.in/learn/dsa/problem/lexicographically-smallest-string-after-applying-operations) (Medium)
53. [Longest Balanced Substring I](https://www.internhack.in/learn/dsa/problem/longest-balanced-substring-i) (Medium)
54. [Longest Mountain in Array](https://www.internhack.in/learn/dsa/problem/longest-mountain-in-array) (Medium)
55. [Longest Palindrome After Substring Concatenation I](https://www.internhack.in/learn/dsa/problem/longest-palindrome-after-substring-concatenation-i) (Medium)
56. [Maximize Active Section with Trade I](https://www.internhack.in/learn/dsa/problem/maximize-active-section-with-trade-i) (Medium)
57. [Maximum Area Rectangle With Point Constraints I](https://www.internhack.in/learn/dsa/problem/maximum-area-rectangle-with-point-constraints-i) (Medium)
58. [Maximum Frequency After Subarray Operation](https://www.internhack.in/learn/dsa/problem/maximum-frequency-after-subarray-operation) (Medium)
59. [Maximum Points in an Archery Competition](https://www.internhack.in/learn/dsa/problem/maximum-points-in-an-archery-competition) (Medium)
60. [Maximum Possible Number by Binary Concatenation](https://www.internhack.in/learn/dsa/problem/maximum-possible-number-by-binary-concatenation) (Medium)
61. [Maximum Rows Covered by Columns](https://www.internhack.in/learn/dsa/problem/maximum-rows-covered-by-columns) (Medium)
62. [Maximum Square Area by Removing Fences From a Field](https://www.internhack.in/learn/dsa/problem/maximum-square-area-by-removing-fences-from-a-field) (Medium)
63. [Minimize Result by Adding Parentheses to Expression](https://www.internhack.in/learn/dsa/problem/minimize-result-by-adding-parentheses-to-expression) (Medium)
64. [Minimum Cost to Set Cooking Time](https://www.internhack.in/learn/dsa/problem/minimum-cost-to-set-cooking-time) (Medium)
65. [Minimum Moves to Capture The Queen](https://www.internhack.in/learn/dsa/problem/minimum-moves-to-capture-the-queen) (Medium)
66. [Minimum Operations to Make the Integer Zero](https://www.internhack.in/learn/dsa/problem/minimum-operations-to-make-the-integer-zero) (Medium)
67. [Most Frequent Prime](https://www.internhack.in/learn/dsa/problem/most-frequent-prime) (Medium)
68. [Next Closest Time](https://www.internhack.in/learn/dsa/problem/next-closest-time) (Medium)
69. [Next Greater Numerically Balanced Number](https://www.internhack.in/learn/dsa/problem/next-greater-numerically-balanced-number) (Medium)
70. [Number of Black Blocks](https://www.internhack.in/learn/dsa/problem/number-of-black-blocks) (Medium)
71. [Consecutive Numbers Sum](https://www.internhack.in/learn/dsa/problem/consecutive-numbers-sum) (Hard)
72. [Count Increasing Quadruplets](https://www.internhack.in/learn/dsa/problem/count-increasing-quadruplets) (Hard)
73. [Create Components With Same Value](https://www.internhack.in/learn/dsa/problem/create-components-with-same-value) (Hard)
74. [Find the Count of Good Integers](https://www.internhack.in/learn/dsa/problem/find-the-count-of-good-integers) (Hard)
75. [Find the Minimum Area to Cover All Ones II](https://www.internhack.in/learn/dsa/problem/find-the-minimum-area-to-cover-all-ones-ii) (Hard)
76. [Find the Number of Ways to Place People II](https://www.internhack.in/learn/dsa/problem/find-the-number-of-ways-to-place-people-ii) (Hard)
77. [Frequencies of Shortest Supersequences](https://www.internhack.in/learn/dsa/problem/frequencies-of-shortest-supersequences) (Hard)
78. [Largest Palindrome Product](https://www.internhack.in/learn/dsa/problem/largest-palindrome-product) (Hard)
79. [Longest Subsequence Repeated k Times](https://www.internhack.in/learn/dsa/problem/longest-subsequence-repeated-k-times) (Hard)
80. [Maximize Subarray GCD Score](https://www.internhack.in/learn/dsa/problem/maximize-subarray-gcd-score) (Hard)
81. [Maximize Subarrays After Removing One Conflicting Pair](https://www.internhack.in/learn/dsa/problem/maximize-subarrays-after-removing-one-conflicting-pair) (Hard)
82. [Maximum Difference Between Even and Odd Frequency II](https://www.internhack.in/learn/dsa/problem/maximum-difference-between-even-and-odd-frequency-ii) (Hard)
83. [Maximum Good People Based on Statements](https://www.internhack.in/learn/dsa/problem/maximum-good-people-based-on-statements) (Hard)
84. [Maximum Number of Achievable Transfer Requests](https://www.internhack.in/learn/dsa/problem/maximum-number-of-achievable-transfer-requests) (Hard)
85. [Maximum Number of Ways to Partition an Array](https://www.internhack.in/learn/dsa/problem/maximum-number-of-ways-to-partition-an-array) (Hard)
86. [Maximum Score of a Node Sequence](https://www.internhack.in/learn/dsa/problem/maximum-score-of-a-node-sequence) (Hard)
87. [Maximum Total Beauty of the Gardens](https://www.internhack.in/learn/dsa/problem/maximum-total-beauty-of-the-gardens) (Hard)
88. [Minimum Cost to Equalize Array](https://www.internhack.in/learn/dsa/problem/minimum-cost-to-equalize-array) (Hard)
89. [Minimum Degree of a Connected Trio in a Graph](https://www.internhack.in/learn/dsa/problem/minimum-degree-of-a-connected-trio-in-a-graph) (Hard)
90. [Minimum Operations to Make Character Frequencies Equal](https://www.internhack.in/learn/dsa/problem/minimum-operations-to-make-character-frequencies-equal) (Hard)
91. [Naming a Company](https://www.internhack.in/learn/dsa/problem/naming-a-company) (Hard)
92. [Number of Possible Sets of Closing Branches](https://www.internhack.in/learn/dsa/problem/number-of-possible-sets-of-closing-branches) (Hard)
93. [Partition Array for Maximum XOR and AND](https://www.internhack.in/learn/dsa/problem/partition-array-for-maximum-xor-and-and) (Hard)
94. [Recover the Original Array](https://www.internhack.in/learn/dsa/problem/recover-the-original-array) (Hard)
95. [Smallest Substring With Identical Characters I](https://www.internhack.in/learn/dsa/problem/smallest-substring-with-identical-characters-i) (Hard)
96. [Split Message Based on Limit](https://www.internhack.in/learn/dsa/problem/split-message-based-on-limit) (Hard)
97. [Substring With Largest Variance](https://www.internhack.in/learn/dsa/problem/substring-with-largest-variance) (Hard)
98. [Sum of Imbalance Numbers of All Subarrays](https://www.internhack.in/learn/dsa/problem/sum-of-imbalance-numbers-of-all-subarrays) (Hard)
99. [Sum of k-Mirror Numbers](https://www.internhack.in/learn/dsa/problem/sum-of-k-mirror-numbers) (Hard)
100. [Super Palindromes](https://www.internhack.in/learn/dsa/problem/super-palindromes) (Hard)

## Companies that ask enumeration problems

- [Google](https://www.internhack.in/learn/dsa/companies/google): 62 of these problems
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 39 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 30 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 25 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 19 of these problems
- [Uber](https://www.internhack.in/learn/dsa/companies/uber): 5 of these problems
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce): 4 of these problems
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle): 4 of these problems
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok): 4 of these problems
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs): 4 of these problems
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho): 3 of these problems
- [Turing](https://www.internhack.in/learn/dsa/companies/turing): 3 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Simulation](https://www.internhack.in/learn/dsa/simulation) (177)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA](https://www.internhack.in/learn/dsa)
