Array DSA Problems

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 (Easy)
  2. Add to Array-Form of Integer (Easy)
  3. Adjacent Increasing Subarrays Detection I (Easy)
  4. Alternating Groups I (Easy)
  5. Ant on the Boundary (Easy)
  6. Apple Redistribution into Boxes (Easy)
  7. Apply Operations to an Array (Easy)
  8. Array Partition (Easy)
  9. Array Transformation (Easy)
  10. Assign Cookies (Easy)
  11. Available Captures for Rook (Easy)
  12. Average Salary Excluding the Minimum and Maximum Salary (Easy)
  13. Average Value of Even Numbers That Are Divisible by Three (Easy)
  14. Baseball Game (Easy)
  15. Best Poker Hand (Easy)
  16. Best Time to Buy and Sell Stock (Easy)
  17. Binary Prefix Divisible By 5 (Easy)
  18. Binary Search (Easy)
  19. Bitwise OR of Adjacent Elements (Easy)
  20. Bitwise OR of Even Numbers in an Array (Easy)
  21. Build Array from Permutation (Easy)
  22. Button with Longest Push Time (Easy)
  23. Buy Two Chocolates (Easy)
  24. Calculate Amount Paid in Taxes (Easy)
  25. Can Make Arithmetic Progression From Sequence (Easy)
  26. Can Place Flowers (Easy)
  27. Cells with Odd Values in a Matrix (Easy)
  28. Check If a Number Is Majority Element in a Sorted Array (Easy)
  29. Check if a String Is an Acronym of Words (Easy)
  30. Check If All 1's Are at Least Length K Places Away (Easy)
  31. Check if All the Integers in a Range Are Covered (Easy)
  32. Check if Array is Good (Easy)
  33. Check if Array Is Sorted and Rotated (Easy)
  34. Check if Bitwise OR Has Trailing Zeros (Easy)
  35. Check if Every Row and Column Contains All Numbers (Easy)
  36. Check If It Is a Straight Line (Easy)
  37. Check if Matrix Is X-Matrix (Easy)
  38. Check If N and Its Double Exist (Easy)
  39. Check If String Is a Prefix of Array (Easy)
  40. Check If Two String Arrays are Equivalent (Easy)
  41. Compute Decimal Representation (Easy)
  42. Concatenation of Array (Easy)
  43. Construct the Minimum Bitwise Array I (Easy)
  44. Contains Duplicate (Easy)
  45. Contains Duplicate II (Easy)
  46. Convert 1D Array Into 2D Array (Easy)
  47. Convert Sorted Array to Binary Search Tree (Easy)
  48. Count Common Words With One Occurrence (Easy)
  49. Count Distinct Numbers on Board (Easy)
  50. Count Elements With Maximum Frequency (Easy)
  51. Count Elements With Strictly Smaller and Greater Elements (Easy)
  52. Count Equal and Divisible Pairs in an Array (Easy)
  53. Count Good Triplets (Easy)
  54. Count Hills and Valleys in an Array (Easy)
  55. Count Houses in a Circular Street (Easy)
  56. Count Items Matching a Rule (Easy)
  57. Count Negative Numbers in a Sorted Matrix (Easy)
  58. Count Number of Pairs With Absolute Difference K (Easy)
  59. Count Pairs Of Similar Strings (Easy)
  60. Count Pairs That Form a Complete Day I (Easy)
  61. Count Pairs Whose Sum is Less than Target (Easy)
  62. Count Partitions with Even Sum Difference (Easy)
  63. Count Prefix and Suffix Pairs I (Easy)
  64. Count Prefixes of a Given String (Easy)
  65. Count Special Quadruplets (Easy)
  66. Count Subarrays of Length Three With a Condition (Easy)
  67. Count Tested Devices After Test Operations (Easy)
  68. Count the Number of Consistent Strings (Easy)
  69. Count the Number of Incremovable Subarrays I (Easy)
  70. Count the Number of Vowel Strings in Range (Easy)
  71. Count Triplets with Even XOR Set Bits I (Easy)
  72. Counting Elements (Easy)
  73. Counting Words With a Given Prefix (Easy)
  74. Coupon Code Validator (Easy)
  75. Crawler Log Folder (Easy)
  76. Create Target Array in the Given Order (Easy)
  77. Decompress Run-Length Encoded List (Easy)
  78. Defuse the Bomb (Easy)
  79. Degree of an Array (Easy)
  80. Delete Columns to Make Sorted (Easy)
  81. Delete Greatest Value in Each Row (Easy)
  82. Design an Ordered Stream (Easy)
  83. Design Compressed String Iterator (Easy)
  84. Design HashMap (Easy)
  85. Design HashSet (Easy)
  86. Destination City (Easy)
  87. Detect Pattern of Length M Repeated K or More Times (Easy)
  88. Determine if Two Events Have Conflict (Easy)
  89. Determine the Winner of a Bowling Game (Easy)
  90. Determine Whether Matrix Can Be Obtained By Rotation (Easy)
  91. DI String Match (Easy)
  92. Diet Plan Performance (Easy)
  93. Difference Between Element Sum and Digit Sum of an Array (Easy)
  94. Distance Between Bus Stops (Easy)
  95. Distribute Candies (Easy)
  96. Distribute Elements Into Two Arrays I (Easy)
  97. Divide an Array Into Subarrays With Minimum Cost I (Easy)
  98. Divide Array Into Equal Pairs (Easy)
  99. Duplicate Zeros (Easy)
  100. Element Appearing More Than 25% In Sorted Array (Easy)

Companies that ask array problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics