Skip to content
dronacharya.ai

Microsoft interview process and questions

We've mapped how Microsoft hires from 3 candidate reports and 14 first-hand accounts, covering 3 seasons from 2019-20 to 2026-27. All 4 reported processes have 3 rounds, usually starting with a coding test. The reports cover internship hiring, for roles such as SWE Intern and Data Scientist Intern. For a longer walkthrough, read our Microsoft interview guide.

InternshipSoftwareData and ML
Practise for this
rounds in 2026-27
3
candidate reports
3
pieces of advice
49
seasons covered
3

In short

What candidates who sat the process say matters most.

  • Think aloud in every round; interviewers value reasoning over a final answer.
  • Know your resume line by line and keep project explanations crisp.
  • Prepare broadly: round 2 mixed HR, DSA and project talk unpredictably.
  • Practise HackerRank without templates; handle edge cases yourself.
  • Expect CS-heavy questions including OS concepts.
  • Be ready to write real code, not pseudocode.
  • Know every detail of every project on your resume.
  • Think aloud and explain your approach to the interviewer.

Hiring process

Every round in order, with the test format, sections and what came up. Pick a season to see how it changed.

InternshipRoles: SWE Intern

  1. 1

    Coding test

    Online coding assessment, 2 questions

    Mixed
    • 75 min
    • 2 questions
    • HackerRank
    • Arrays
    • Greedy
    • Dynamic programming
    • Strings
    • Tries
    • Prefix sums
    • Heaps
    • Bit manipulation
    • Hashing
    • Palindromes

    From candidates: Questions came from a pool, so sets differed (one account saw password-validity, another a substring-sum question). One easy/basic plus one harder/intermediate. No section timers, free order. 15 test cases per question, only 4 visible. Constraints reported such as n up to 2000 or 1e5.

  2. 2

    Technical interview

    Technical interview round 1

    • 45 min
    • Microsoft Teams plus HackerRank (invigilation and coding)
    • Projects
    • Backtracking
    • Graph traversal
    • DFS
    • Linked lists
    • Key-value store design
    • Time and space complexity
    • OS
    • Networks
    • Threads vs processes

    From candidates: Allotted 45 min, ran 45 to 60. Coding on HackerRank with no template code or input format, so assumptions and edge cases are on the candidate. Some interviewers asked CS fundamentals, others did not. About 20 min on one project.

  3. 3

    Technical interview

    Second interview: technical and HR mix

    • 45 min
    • Microsoft Teams
    • Projects
    • BST
    • AVL trees
    • Tree BFS
    • Celebrity problem
    • ML metrics
    • Bias-variance
    • LLM trust and limits
    • Cybersecurity basics
    • Authentication
    • Strengths and weaknesses
    • Why Microsoft
    • Expectations from internship

    From candidates: Allotted 45 min, ran 45 to 70. Content varied a lot between candidates: some got only HR, some only DSA or technical, some a mix. One panel came from a cybersecurity domain.

Advice from candidates

49 pieces of advice, in their own words. Names removed.

  • Try brute force first to pass as many test cases as possible then use the constraints to find expected time complexity and optimize.

    Test2026-27
  • Both the technical rounds were on HackerRank and questions didn’t have any template code or input format. Everything that wasn’t evident in the question was to be assumed and manually input.

    Technical interview round 12026-27
  • In the interview round try not to go for the optimal solution immediately even if you know it as the interviewer wants to see how you optimize your code on the spot based on constraints. Handle edge cases very carefully as there are no premade test cases.

    Technical interview round 12026-27
  • Don’t rely on the interviewer for hints as they expect you to explain the solution to them.

    Interview2026-27

Loading the other 45…

Shared on Campus

Recent Microsoft interviews from candidates who use Campus, published without their names after review.

Question patterns

The kind of problem that was asked, not the problem itself. Our practice questions are written to match these.

  • Coding test2026-27

    Greedy: remove largest contributing gap after inserting one element

  • Coding test2026-27

    0/1 knapsack, maximise value under cost cap

  • Coding test2026-27

    Password validity check with dictionary of banned words, trie helps

  • Coding test2026-27

    Count distinct palindromic substrings

  • Coding test2026-27

    Count substrings whose mapped digit sum divisible by length

  • Coding test2026-27

    Kth largest over every growing prefix, min-heap of size k

  • Coding test2026-27

    Count index triplets with even product, parity DP, modulo

  • Coding test2026-27

    Hash map or set based simple counting

Show all 24 patterns
  • Technical interview2026-27

    Chess-piece tour via backtracking, then greedy heuristic improvement

  • Technical interview2026-27

    DFS on adjacency list with small modification

  • Technical interview2026-27

    Swap kth nodes from both ends of linked list

  • Technical interview2026-27

    Timestamped key-value store with snapshots

  • Technical interview2026-27

    Build BST from preorder, follow-up on balancing

  • Technical interview2026-27

    Find the one person known by all but knowing none, linear

  • Technical interview2026-27

    BFS level traversal on tree, follow-up for BST

  • Online test2019-20

    Trailing zeros in factorial

  • Online test2019-20

    Find errors in loop and array code

  • Online test2019-20

    Data structure with logarithmic average operations

  • Coding test2019-20

    Base conversion on binary string

  • Coding test2019-20

    Print binary tree level by level

  • Coding test2019-20

    Sort list of 0s,1s,2s by pointer changes

  • Coding test2019-20

    Evaluate spreadsheet cells with dependencies

  • Coding test2019-20

    Factorial without multiplication operator

  • Coding test2019-20

    Compare strings under custom alphabet order

companies
222
rounds described
1,432
pieces of advice
3,771

Your next drive is closer than you think.

Start with the 15-minute mixed test: 13 questions that show where you stand in every section.