# Array DSA Problems

> 1869 Array 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/array
Last updated: 2026-11-28

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

## Array problems, easiest first

1. [1-bit and 2-bit Characters](https://www.internhack.in/learn/dsa/problem/1-bit-and-2-bit-characters) (Easy)
2. [Add to Array-Form of Integer](https://www.internhack.in/learn/dsa/problem/add-to-array-form-of-integer) (Easy)
3. [Adjacent Increasing Subarrays Detection I](https://www.internhack.in/learn/dsa/problem/adjacent-increasing-subarrays-detection-i) (Easy)
4. [Alternating Groups I](https://www.internhack.in/learn/dsa/problem/alternating-groups-i) (Easy)
5. [Ant on the Boundary](https://www.internhack.in/learn/dsa/problem/ant-on-the-boundary) (Easy)
6. [Apple Redistribution into Boxes](https://www.internhack.in/learn/dsa/problem/apple-redistribution-into-boxes) (Easy)
7. [Apply Operations to an Array](https://www.internhack.in/learn/dsa/problem/apply-operations-to-an-array) (Easy)
8. [Array Partition](https://www.internhack.in/learn/dsa/problem/array-partition) (Easy)
9. [Array Transformation](https://www.internhack.in/learn/dsa/problem/array-transformation) (Easy)
10. [Assign Cookies](https://www.internhack.in/learn/dsa/problem/assign-cookies) (Easy)
11. [Available Captures for Rook](https://www.internhack.in/learn/dsa/problem/available-captures-for-rook) (Easy)
12. [Average Salary Excluding the Minimum and Maximum Salary](https://www.internhack.in/learn/dsa/problem/average-salary-excluding-the-minimum-and-maximum-salary) (Easy)
13. [Average Value of Even Numbers That Are Divisible by Three](https://www.internhack.in/learn/dsa/problem/average-value-of-even-numbers-that-are-divisible-by-three) (Easy)
14. [Baseball Game](https://www.internhack.in/learn/dsa/problem/baseball-game) (Easy)
15. [Best Poker Hand](https://www.internhack.in/learn/dsa/problem/best-poker-hand) (Easy)
16. [Best Time to Buy and Sell Stock](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
17. [Binary Prefix Divisible By 5](https://www.internhack.in/learn/dsa/problem/binary-prefix-divisible-by-5) (Easy)
18. [Binary Search](https://www.internhack.in/learn/dsa/problem/binary-search) (Easy)
19. [Bitwise OR of Adjacent Elements](https://www.internhack.in/learn/dsa/problem/bitwise-or-of-adjacent-elements) (Easy)
20. [Bitwise OR of Even Numbers in an Array](https://www.internhack.in/learn/dsa/problem/bitwise-or-of-even-numbers-in-an-array) (Easy)
21. [Build Array from Permutation](https://www.internhack.in/learn/dsa/problem/build-array-from-permutation) (Easy)
22. [Button with Longest Push Time](https://www.internhack.in/learn/dsa/problem/button-with-longest-push-time) (Easy)
23. [Buy Two Chocolates](https://www.internhack.in/learn/dsa/problem/buy-two-chocolates) (Easy)
24. [Calculate Amount Paid in Taxes](https://www.internhack.in/learn/dsa/problem/calculate-amount-paid-in-taxes) (Easy)
25. [Can Make Arithmetic Progression From Sequence](https://www.internhack.in/learn/dsa/problem/can-make-arithmetic-progression-from-sequence) (Easy)
26. [Can Place Flowers](https://www.internhack.in/learn/dsa/problem/can-place-flowers) (Easy)
27. [Cells with Odd Values in a Matrix](https://www.internhack.in/learn/dsa/problem/cells-with-odd-values-in-a-matrix) (Easy)
28. [Check If a Number Is Majority Element in a Sorted Array](https://www.internhack.in/learn/dsa/problem/check-if-a-number-is-majority-element-in-a-sorted-array) (Easy)
29. [Check if a String Is an Acronym of Words](https://www.internhack.in/learn/dsa/problem/check-if-a-string-is-an-acronym-of-words) (Easy)
30. [Check If All 1's Are at Least Length K Places Away](https://www.internhack.in/learn/dsa/problem/check-if-all-1s-are-at-least-length-k-places-away) (Easy)
31. [Check if All the Integers in a Range Are Covered](https://www.internhack.in/learn/dsa/problem/check-if-all-the-integers-in-a-range-are-covered) (Easy)
32. [Check if Array is Good](https://www.internhack.in/learn/dsa/problem/check-if-array-is-good) (Easy)
33. [Check if Array Is Sorted and Rotated](https://www.internhack.in/learn/dsa/problem/check-if-array-is-sorted-and-rotated) (Easy)
34. [Check if Bitwise OR Has Trailing Zeros](https://www.internhack.in/learn/dsa/problem/check-if-bitwise-or-has-trailing-zeros) (Easy)
35. [Check if Every Row and Column Contains All Numbers](https://www.internhack.in/learn/dsa/problem/check-if-every-row-and-column-contains-all-numbers) (Easy)
36. [Check If It Is a Straight Line](https://www.internhack.in/learn/dsa/problem/check-if-it-is-a-straight-line) (Easy)
37. [Check if Matrix Is X-Matrix](https://www.internhack.in/learn/dsa/problem/check-if-matrix-is-x-matrix) (Easy)
38. [Check If N and Its Double Exist](https://www.internhack.in/learn/dsa/problem/check-if-n-and-its-double-exist) (Easy)
39. [Check If String Is a Prefix of Array](https://www.internhack.in/learn/dsa/problem/check-if-string-is-a-prefix-of-array) (Easy)
40. [Check If Two String Arrays are Equivalent](https://www.internhack.in/learn/dsa/problem/check-if-two-string-arrays-are-equivalent) (Easy)
41. [Compute Decimal Representation](https://www.internhack.in/learn/dsa/problem/compute-decimal-representation) (Easy)
42. [Concatenation of Array](https://www.internhack.in/learn/dsa/problem/concatenation-of-array) (Easy)
43. [Construct the Minimum Bitwise Array I](https://www.internhack.in/learn/dsa/problem/construct-the-minimum-bitwise-array-i) (Easy)
44. [Contains Duplicate](https://www.internhack.in/learn/dsa/problem/contains-duplicate) (Easy)
45. [Contains Duplicate II](https://www.internhack.in/learn/dsa/problem/contains-duplicate-ii) (Easy)
46. [Convert 1D Array Into 2D Array](https://www.internhack.in/learn/dsa/problem/convert-1d-array-into-2d-array) (Easy)
47. [Convert Sorted Array to Binary Search Tree](https://www.internhack.in/learn/dsa/problem/convert-sorted-array-to-binary-search-tree) (Easy)
48. [Count Common Words With One Occurrence](https://www.internhack.in/learn/dsa/problem/count-common-words-with-one-occurrence) (Easy)
49. [Count Distinct Numbers on Board](https://www.internhack.in/learn/dsa/problem/count-distinct-numbers-on-board) (Easy)
50. [Count Elements With Maximum Frequency](https://www.internhack.in/learn/dsa/problem/count-elements-with-maximum-frequency) (Easy)
51. [Count Elements With Strictly Smaller and Greater Elements](https://www.internhack.in/learn/dsa/problem/count-elements-with-strictly-smaller-and-greater-elements) (Easy)
52. [Count Equal and Divisible Pairs in an Array](https://www.internhack.in/learn/dsa/problem/count-equal-and-divisible-pairs-in-an-array) (Easy)
53. [Count Good Triplets](https://www.internhack.in/learn/dsa/problem/count-good-triplets) (Easy)
54. [Count Hills and Valleys in an Array](https://www.internhack.in/learn/dsa/problem/count-hills-and-valleys-in-an-array) (Easy)
55. [Count Houses in a Circular Street](https://www.internhack.in/learn/dsa/problem/count-houses-in-a-circular-street) (Easy)
56. [Count Items Matching a Rule](https://www.internhack.in/learn/dsa/problem/count-items-matching-a-rule) (Easy)
57. [Count Negative Numbers in a Sorted Matrix](https://www.internhack.in/learn/dsa/problem/count-negative-numbers-in-a-sorted-matrix) (Easy)
58. [Count Number of Pairs With Absolute Difference K](https://www.internhack.in/learn/dsa/problem/count-number-of-pairs-with-absolute-difference-k) (Easy)
59. [Count Pairs Of Similar Strings](https://www.internhack.in/learn/dsa/problem/count-pairs-of-similar-strings) (Easy)
60. [Count Pairs That Form a Complete Day I](https://www.internhack.in/learn/dsa/problem/count-pairs-that-form-a-complete-day-i) (Easy)
61. [Count Pairs Whose Sum is Less than Target](https://www.internhack.in/learn/dsa/problem/count-pairs-whose-sum-is-less-than-target) (Easy)
62. [Count Partitions with Even Sum Difference](https://www.internhack.in/learn/dsa/problem/count-partitions-with-even-sum-difference) (Easy)
63. [Count Prefix and Suffix Pairs I](https://www.internhack.in/learn/dsa/problem/count-prefix-and-suffix-pairs-i) (Easy)
64. [Count Prefixes of a Given String](https://www.internhack.in/learn/dsa/problem/count-prefixes-of-a-given-string) (Easy)
65. [Count Special Quadruplets](https://www.internhack.in/learn/dsa/problem/count-special-quadruplets) (Easy)
66. [Count Subarrays of Length Three With a Condition](https://www.internhack.in/learn/dsa/problem/count-subarrays-of-length-three-with-a-condition) (Easy)
67. [Count Tested Devices After Test Operations](https://www.internhack.in/learn/dsa/problem/count-tested-devices-after-test-operations) (Easy)
68. [Count the Number of Consistent Strings](https://www.internhack.in/learn/dsa/problem/count-the-number-of-consistent-strings) (Easy)
69. [Count the Number of Incremovable Subarrays I](https://www.internhack.in/learn/dsa/problem/count-the-number-of-incremovable-subarrays-i) (Easy)
70. [Count the Number of Vowel Strings in Range](https://www.internhack.in/learn/dsa/problem/count-the-number-of-vowel-strings-in-range) (Easy)
71. [Count Triplets with Even XOR Set Bits I](https://www.internhack.in/learn/dsa/problem/count-triplets-with-even-xor-set-bits-i) (Easy)
72. [Counting Elements](https://www.internhack.in/learn/dsa/problem/counting-elements) (Easy)
73. [Counting Words With a Given Prefix](https://www.internhack.in/learn/dsa/problem/counting-words-with-a-given-prefix) (Easy)
74. [Coupon Code Validator](https://www.internhack.in/learn/dsa/problem/coupon-code-validator) (Easy)
75. [Crawler Log Folder](https://www.internhack.in/learn/dsa/problem/crawler-log-folder) (Easy)
76. [Create Target Array in the Given Order](https://www.internhack.in/learn/dsa/problem/create-target-array-in-the-given-order) (Easy)
77. [Decompress Run-Length Encoded List](https://www.internhack.in/learn/dsa/problem/decompress-run-length-encoded-list) (Easy)
78. [Defuse the Bomb](https://www.internhack.in/learn/dsa/problem/defuse-the-bomb) (Easy)
79. [Degree of an Array](https://www.internhack.in/learn/dsa/problem/degree-of-an-array) (Easy)
80. [Delete Columns to Make Sorted](https://www.internhack.in/learn/dsa/problem/delete-columns-to-make-sorted) (Easy)
81. [Delete Greatest Value in Each Row](https://www.internhack.in/learn/dsa/problem/delete-greatest-value-in-each-row) (Easy)
82. [Design an Ordered Stream](https://www.internhack.in/learn/dsa/problem/design-an-ordered-stream) (Easy)
83. [Design Compressed String Iterator](https://www.internhack.in/learn/dsa/problem/design-compressed-string-iterator) (Easy)
84. [Design HashMap](https://www.internhack.in/learn/dsa/problem/design-hashmap) (Easy)
85. [Design HashSet](https://www.internhack.in/learn/dsa/problem/design-hashset) (Easy)
86. [Destination City](https://www.internhack.in/learn/dsa/problem/destination-city) (Easy)
87. [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)
88. [Determine if Two Events Have Conflict](https://www.internhack.in/learn/dsa/problem/determine-if-two-events-have-conflict) (Easy)
89. [Determine the Winner of a Bowling Game](https://www.internhack.in/learn/dsa/problem/determine-the-winner-of-a-bowling-game) (Easy)
90. [Determine Whether Matrix Can Be Obtained By Rotation](https://www.internhack.in/learn/dsa/problem/determine-whether-matrix-can-be-obtained-by-rotation) (Easy)
91. [DI String Match](https://www.internhack.in/learn/dsa/problem/di-string-match) (Easy)
92. [Diet Plan Performance](https://www.internhack.in/learn/dsa/problem/diet-plan-performance) (Easy)
93. [Difference Between Element Sum and Digit Sum of an Array](https://www.internhack.in/learn/dsa/problem/difference-between-element-sum-and-digit-sum-of-an-array) (Easy)
94. [Distance Between Bus Stops](https://www.internhack.in/learn/dsa/problem/distance-between-bus-stops) (Easy)
95. [Distribute Candies](https://www.internhack.in/learn/dsa/problem/distribute-candies) (Easy)
96. [Distribute Elements Into Two Arrays I](https://www.internhack.in/learn/dsa/problem/distribute-elements-into-two-arrays-i) (Easy)
97. [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)
98. [Divide Array Into Equal Pairs](https://www.internhack.in/learn/dsa/problem/divide-array-into-equal-pairs) (Easy)
99. [Duplicate Zeros](https://www.internhack.in/learn/dsa/problem/duplicate-zeros) (Easy)
100. [Element Appearing More Than 25% In Sorted Array](https://www.internhack.in/learn/dsa/problem/element-appearing-more-than-25-in-sorted-array) (Easy)

## Companies that ask array problems

- [Google](https://www.internhack.in/learn/dsa/companies/google): 69 of these problems
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 59 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 47 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 45 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 41 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 12 of these problems
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle): 10 of these problems
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture): 8 of these problems
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho): 7 of these problems
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs): 7 of these problems
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe): 6 of these problems
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm): 5 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

- [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)
- [Stack](https://www.internhack.in/learn/dsa/stack) (167)

## Related

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