Ecommet

DSA sheet · Topic

Arrays & Hashing interview problems

Where every interview starts: scanning arrays, counting with hash maps and sets, and prefix sums.

  • 15 problems
  • Java + Python
  • Free, no sign-up
Progress options

01 Arrays & Hashing Where every interview starts: scanning arrays, counting with hash maps and sets, and prefix sums. 0 / 15
  1. 1 Two Sum Easy Practice Two Sum on LeetCode (opens in a new tab)
  2. 2 Contains Duplicate Easy Practice Contains Duplicate on LeetCode (opens in a new tab)
  3. 3 Valid Anagram Easy Practice Valid Anagram on LeetCode (opens in a new tab)
  4. 4 Best Time to Buy and Sell Stock Easy Practice Best Time to Buy and Sell Stock on LeetCode (opens in a new tab)
  5. 5 Majority Element Easy Practice Majority Element on LeetCode (opens in a new tab)
  6. 6 Move Zeroes Easy Practice Move Zeroes on LeetCode (opens in a new tab)
  7. 7 Merge Sorted Array Easy Practice Merge Sorted Array on LeetCode (opens in a new tab)
  8. 8 Group Anagrams Medium Practice Group Anagrams on LeetCode (opens in a new tab)
  9. 9 Top K Frequent Elements Medium Practice Top K Frequent Elements on LeetCode (opens in a new tab)
  10. 10 Product of Array Except Self Medium Practice Product of Array Except Self on LeetCode (opens in a new tab)
  11. 11 Longest Consecutive Sequence Medium Practice Longest Consecutive Sequence on LeetCode (opens in a new tab)
  12. 12 Maximum Subarray Medium Practice Maximum Subarray on LeetCode (opens in a new tab)
  13. 13 Subarray Sum Equals K Medium Practice Subarray Sum Equals K on LeetCode (opens in a new tab)
  14. 14 Sort Colors Medium Practice Sort Colors on LeetCode (opens in a new tab)
  15. 15 Next Permutation Medium Practice Next Permutation on LeetCode (opens in a new tab)

All topics