knaxuslearn · build · ship

Microsoft · DSA

Every coding problem Microsoft has asked, most frequent first. Tick them off as you go; your ticks stay in this browser.

mostly asked
372
hard
48
done
0

372 of 372 problems

  1. 1Two Sum (opens LeetCode in a new tab)Array, Hash Table · at 38 companiesEasyFrequency 100
  2. 2Add Two Numbers (opens LeetCode in a new tab)Linked List, Math, Recursion · at 19 companiesMediumFrequency 82
  3. 3Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 80
  4. 4Longest Palindromic Substring (opens LeetCode in a new tab)Two Pointers, String, Dynamic Programming · at 25 companiesMediumFrequency 80
  5. 5Best Time to Buy and Sell Stock (opens LeetCode in a new tab)Array, Dynamic Programming · at 29 companiesEasyFrequency 78
  6. 6Trapping Rain Water (opens LeetCode in a new tab)Array, Two Pointers, Dynamic Programming · at 26 companiesHardFrequency 78
  7. 7LRU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 30 companiesMediumFrequency 78
  8. 8Median of Two Sorted Arrays (opens LeetCode in a new tab)Array, Binary Search, Divide and Conquer · at 24 companiesHardFrequency 75
  9. 9Subarray Sum Equals K (opens LeetCode in a new tab)Array, Hash Table, Prefix Sum · at 25 companiesMediumFrequency 75
  10. 103Sum (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 23 companiesMediumFrequency 75
  11. 11Maximum Subarray (opens LeetCode in a new tab)Array, Divide and Conquer, Dynamic Programming · at 25 companiesMediumFrequency 75
  12. 12Palindrome Number (opens LeetCode in a new tab)Math · at 17 companiesEasyFrequency 73
  13. 13Longest Common Prefix (opens LeetCode in a new tab)Array, String, Trie · at 22 companiesEasyFrequency 72
  14. 14Number of Islands (opens LeetCode in a new tab)Array, Depth-First Search, Breadth-First Search · at 27 companiesMediumFrequency 72
  15. 15Merge Intervals (opens LeetCode in a new tab)Array, Sorting, Quicksort · at 34 companiesMediumFrequency 72
  16. 16Valid Parentheses (opens LeetCode in a new tab)String, Stack, Bracket Sequences · at 32 companiesEasyFrequency 72
  17. 17Remove Duplicates from Sorted Array (opens LeetCode in a new tab)Array, Two Pointers · at 17 companiesEasyFrequency 72
  18. 18Merge Sorted Array (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 19 companiesEasyFrequency 72
  19. 19Container With Most Water (opens LeetCode in a new tab)Array, Two Pointers, Greedy · at 24 companiesMediumFrequency 71
  20. 20Group Anagrams (opens LeetCode in a new tab)Array, Hash Table, String · at 27 companiesMediumFrequency 70
  21. 21Majority Element (opens LeetCode in a new tab)Array, Hash Table, Divide and Conquer · at 14 companiesEasyFrequency 70
  22. 22Roman to Integer (opens LeetCode in a new tab)Hash Table, Math, String · at 23 companiesEasyFrequency 69
  23. 23Search in Rotated Sorted Array (opens LeetCode in a new tab)Array, Binary Search · at 22 companiesMediumFrequency 69
  24. 24Next Permutation (opens LeetCode in a new tab)Array, Two Pointers · at 19 companiesMediumFrequency 67
  25. 25Spiral Matrix (opens LeetCode in a new tab)Array, Matrix, Simulation · at 20 companiesMediumFrequency 67
  26. Showing 25 of 372

Mostly asked is the top quarter of the company’s list by how often a problem is reported. We don’t refresh this data often enough to show the last 30 days or 6 months. Frequency is relative within one company: 100 is its most asked problem. At N companies counts the companies in DSA Atlas that ask the problem; use Also asked at to cut a long list down to the problems many companies share. Your ticks are saved in this browser only.

Credits

These lists are the work of two open GitHub projects. Thank you to their authors.

Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.

Last synced