Microsoft Coding Interview Questions: 190 Tagged Problems

190 coding problems tagged Microsoft — 45 easy · 90 medium · 55 hard — with solutions in 13 languages. Plus a 4-week study plan by topic.

  • Problems: 190
  • By difficulty: 45 easy · 90 medium · 55 hard
  • Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
  • Cost: Free on every plan; sign in to run and submit

190 problems the CodeKairo catalogue tags as commonly asked in Microsoft's coding rounds — 45 easy, 90 medium and 55 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (119), Dynamic Programming (47) and Strings (44). CodeKairo's Microsoft — Online Assessment mock covers the Microsoft online assessment pattern: two coding problems on a platform such as Codility or HackerRank, and nothing that is not code. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Microsoft, which CodeKairo is not affiliated with.

Microsoft study plan by topic

40 of the 190 problems tagged Microsoft over 4 weeks, about 21 h 5 min of solving, grouped by technique in the order they build on each other — Strings, Hash Table, Counting and Math and 24 more. It ends with the Microsoft — Online Assessment mock.

Week 1: Strings, Hash Table, Counting +5

12 problems on Strings, Hash Table, Counting, Math, Two Pointers, Sliding Window, Prefix Sum and Sorting, easiest first within each topic.

Week 2: Counting Sort, Binary Search, Stack +5

12 problems on Counting Sort, Binary Search, Stack, Queue, Monotonic Stack, Matrix, Simulation and Greedy, easiest first within each topic.

Week 3: Recursion, Divide and Conquer, Quickselect +8

12 problems on Recursion, Divide and Conquer, Quickselect, Heap, Bit Manipulation, Bitmask, Backtracking, Graph, Breadth-First Search, Union Find and Shortest Path, easiest first within each topic.

Week 4: Dynamic Programming

4 problems on Dynamic Programming, easiest first.

Finally: the timed test

Sit the Microsoft — Online Assessment mock under the clock — the coding problems are only one part of the round.

Take the Microsoft — Online Assessment mock

Microsoft test patterns

All problems tagged Microsoft

Easy (45)

Medium (90)

Hard (55)

Topics Microsoft asks most