Microsoft

Challenges: 18Easy: 8Medium: 8Hard: 2

This Microsoft coding interview set pulls together 18 challenges, with a mix of 8 easy, 8 medium, 2 hard. The problems lean on bfs, trees, parsing, strings, arrays, so you can drill the patterns that come up most and walk into the interview ready.

Topics this company tests

Microsoft coding challenges

  • Binary Tree Level Order Traversal

    Difficulty: MediumTopics: bfs, trees
  • Config Version Comparator

    Difficulty: EasyTopics: parsing, strings
  • Container With Most Water

    Difficulty: MediumTopics: arrays, two-pointers
  • Feature Flag Rollout Validator

    Difficulty: EasyTopics: math, simulation
  • Interview Calendar Conflict Finder

    Difficulty: EasyTopics: intervals, sorting
  • Longest Increasing Subsequence

    Difficulty: HardTopics: arrays, binary-search, dynamic-programming
  • Longest Substring Without Repeating Characters

    Difficulty: MediumTopics: hashing, sliding-window, strings
  • Maximum Depth of Binary Tree

    Difficulty: MediumTopics: bfs, recursion, trees
  • Maximum Subarray

    Difficulty: MediumTopics: arrays, dynamic-programming
  • Merge Two Sorted Lists

    Difficulty: EasyTopics: linked-lists
  • Min Stack

    Difficulty: MediumTopics: design, stacks
  • Reverse Linked List

    Difficulty: EasyTopics: linked-lists
  • Search in Rotated Sorted Array

    Difficulty: MediumTopics: arrays, binary-search
  • Serialize and Deserialize Binary Tree

    Difficulty: HardTopics: bfs, design, trees
  • Session Timeout Cleanup

    Difficulty: EasyTopics: arrays, simulation, sorting
  • Stream Lag Alert Aggregator

    Difficulty: MediumTopics: hash-map, simulation
  • Support Ticket Prioritizer

    Difficulty: EasyTopics: simulation, sorting
  • Valid Anagram

    Difficulty: EasyTopics: hashing, strings

Ready to practice for real?

Work through coding challenges like the ones Microsoft asks, run your code, and check your solution against real test cases.

Practice coding challenges, start free