In this guide
The Microsoft interview process for freshers, as candidates describe it, is short: an online coding assessment with two problems, then two interviews of roughly 45 minutes each on Microsoft Teams that mix live DSA coding, resume projects and, for some people, HR questions. The data science track in one season skipped the test entirely and went from a resume shortlist straight to two interviews.
This guide is built from three reports in Dronacharya Campus that together hold 14 candidate accounts, from the 2026-27, 2024-25 and 2019-20 seasons. Nearly all of them are for internships (SWE Intern and Data Scientist Intern). That is a small sample, so read it as "what people actually saw", not as a fixed rulebook: Microsoft changes the test platform, the number of rounds and the interview style by season, college and role. Where the accounts disagree, we say so. The full structured write-up, with every round and pattern, is on the Microsoft company guide on Dronacharya Campus.
Microsoft interview process for freshers at a glance
| Season | Role or track | Rounds reported | Test platform and length |
|---|---|---|---|
| 2026-27 | SWE Intern | Online coding test, technical interview 1, second interview (technical and HR mix) | HackerRank, 75 minutes, 2 coding questions |
| 2024-25 | Software Engineering track | Online coding test, interview 1 (live DSA), interview 2 (project plus design or DSA) | Codility, 100 minutes, 2 coding questions |
| 2024-25 | Data Science track | Resume shortlist, interview 1 (projects, ML metrics, light coding), interview 2 (ML depth) | No test reported |
| 2019-20 | Role not stated | Written C/C++ MCQ test, programming round, interview | Not named; 45-minute MCQ test, then coding |
A few things hold across the recent seasons:
- Two coding questions in the test, one easier and one harder, with no negative marking or MCQs mentioned in 2024-25 or 2026-27.
- Two interviews, often on the same day. One 2024-25 account says HR called candidates for the second interview the same day, so keep your phone on.
- No separate HR round in the software track for 2024-25. In 2026-27, HR questions were folded into the second interview for some candidates.
- Offers by email a few working days later, according to a 2024-25 account, which suggests checking spam and the application status page.
Microsoft online assessment
2026-27: HackerRank, 75 minutes, two questions
Candidates from the 2026-27 season describe a 75-minute HackerRank test with two coding questions: one easy or basic, one intermediate. There were no section timers, so you could attempt the two in any order. Each question had 15 test cases, of which only 4 were visible. Constraints quoted included n up to 2,000 and n up to 10^5, which tells you the intended complexity: roughly O(n²) is fine for the first, O(n log n) or better for the second.
Questions were drawn from a pool, so two people sitting the same test saw different problems. The problems reported across accounts include:
- A greedy problem: insert one element into an array, then remove the gap that contributes most.
- 0/1 knapsack: maximise value under a cost cap.
- Password validity against a dictionary of banned words, where a trie avoids time-outs.
- Count distinct palindromic substrings.
- Count substrings whose mapped digit sum is divisible by their length.
- The k-th largest element over every growing prefix, using a min-heap of size k.
- Count index triplets with an even product, using parity DP and a modulo.
- Simple counting with a hash map or set.
Three lessons stand out. First, HackerRank gave no template code and no input format, so you write the input parsing yourself and make your own assumptions about anything the statement leaves out. Second, one candidate's memoised recursion passed some test cases only half the time and timed out the rest; rewriting it as a bottom-up table fixed it. Third, another lost 10 to 15 minutes chasing negative outputs before realising they had forgotten to take the answer modulo a large prime. The candidate on the password question adds that without a trie, three test cases timed out.
2024-25: Codility, 100 minutes, two questions
The 2024-25 software track used Codility: 100 minutes, two problems, described as easy to medium, covering arrays, graphs, dynamic programming, greedy, strings and an implementation-heavy problem that rewarded writing proper classes. It was eliminatory. One candidate finished in about 20 minutes and believes speed influenced selection, noting that a friend who solved everything correctly but took much longer was not picked. That is one person's observation, not a confirmed rule, but practise finishing fast.
2019-20: written MCQs plus programming
The oldest report is from 2019-20 and looks quite different. There was a written test of C-based MCQs (one account says 15 questions in 45 minutes) covering output prediction, recursion, macros, bit manipulation, BST properties, complexity, OS user and kernel mode, C++ virtual functions and cache-friendly array traversal. Then came a programming round: one account had 3 questions in about 2 hours, another a group round with 2 questions in an hour where real code was required. Problems included base conversion on a binary string, printing a binary tree level by level, sorting a linked list of 0s, 1s and 2s by changing pointers, evaluating spreadsheet cells with dependencies (a topological sort in disguise), factorial without the multiplication operator, and comparing strings under a custom alphabet order.
For the general playbook on coding tests, including platform rules and time splits, see our online assessment preparation guide.
Microsoft interview rounds, one by one
Technical interview 1: live DSA on a shared editor
In 2026-27 the first interview was on Microsoft Teams with coding on HackerRank, again with no template code. It was scheduled for 45 minutes and ran 45 to 60. Accounts mention about 20 minutes on a single resume project, then coding. Problems reported:
- A chess-piece tour solved by backtracking, followed by a greedy heuristic to speed it up.
- DFS on an adjacency list with a small twist.
- Swap the k-th node from the start with the k-th node from the end of a linked list.
- Design a timestamped key-value store that supports snapshots.
Some interviewers also asked CS fundamentals (OS, networks, threads versus processes, time and space complexity), others did not.
In 2024-25 the software track's first interview used Teams with a Codility editor. Candidates explained their approach, coded it, then wrote their own test cases and edge cases. Topics included strings, priority queues and heaps, graph BFS, the sieve, topological sort and cycle detection. One useful detail: some problems were written as stories, and the real task was to spot the standard graph problem underneath. Two accounts say 45 minutes, one says an hour.
Interview 2: projects, design, DSA and sometimes HR
The second interview is where accounts differ most. In 2026-27 it was allotted 45 minutes and ran 45 to 70. Some candidates got only HR questions, some only DSA or technical questions, and some a mix. Reported content includes building a BST from its preorder traversal (with a follow-up on balancing and AVL trees), level-order BFS on a tree with a BST follow-up, the celebrity problem (find the person everyone knows who knows nobody, in linear time), ML metrics, bias and variance, how far to trust LLM output, authentication and cybersecurity basics (one panel came from a security team), and standard HR questions: strengths and weaknesses, why Microsoft, and what you expect from the internship.
In 2024-25 the software track's second interview was a project deep dive plus either an OOP design problem or a DSA problem: priority queues, hash maps, and a greedy circular-route problem. Lengths were reported as 45 minutes, an hour, and 20 to 25 minutes. There was no HR round.
The data science track (2024-25)
The Data Scientist Intern process had no test and no group discussion: resume shortlist, then two interviews on Teams.
- Interview 1 (45 minutes): deep learning projects, time series, graph neural networks, precision and recall, cross-validation, and in one case two-sum. One account describes an informal chat with no DSA or SQL at all; another got ML metric questions plus a medium DSA problem.
- Interview 2 (60 minutes): model architecture, loss functions, Bayes' theorem, decision trees and random forests, regression, neural networks, and implementing logistic regression from scratch. It was often held the same day as the first.
The 2019-20 interview
The 2019-20 interview covered OS memory segments, binary trees, run-length encoding and resume projects; that candidate felt their mixed electrical and CS projects did not land well.
Microsoft interview questions: topics that came up most
Counting across all three reports, strings came up most often, followed by arrays, greedy, dynamic programming, heaps and priority queues, bit manipulation, linked lists and resume projects. Here is how those map to what you should practise. For a wider topic order, our DSA for placements roadmap ranks topics across hundreds of reports.
| Topic | Where it showed up | What to practise |
|---|---|---|
| Strings and palindromes | 2026-27 test, 2024-25 interview, 2019-20 coding | Expand-around-centre, palindromic substring DP, prefix sums over character values |
| Heaps and priority queues | 2026-27 test, 2024-25 interviews | Size-k heaps for running k-th largest, merging, scheduling with a heap |
| Dynamic programming | 2026-27 and 2024-25 tests | Knapsack, parity or state DP with modulo, converting memoisation to tabulation |
| Tries and hashing | 2026-27 test | Insert and search in a trie, dictionary-matching problems, frequency maps |
| Linked lists | 2026-27 interview, 2019-20 coding | Two-pointer k-th from end, node swaps, pointer-only sorting |
| Trees and BSTs | 2026-27 interview, 2019-20 | Build from traversals, level order, balancing, BST validation |
| Graphs | 2024-25 test and interview, 2026-27 interview | BFS, DFS, topological sort, cycle detection, reducing a story to a graph |
| Design | 2026-27 interview, 2024-25 interview | Time-based key-value store, snapshot structures, small OOP class designs |
| CS fundamentals | Some 2026-27 interviews, 2019-20 test | Processes and threads, memory layout, user and kernel mode, virtual functions |
How to prepare for the Microsoft internship interview
Because the data set is small, the best plan is to get strong at the topics it does test and at the way Microsoft tests them: no templates, your own edge cases, and talking through your reasoning.
Weeks 1 and 2: core DSA patterns
Cover arrays, strings, hashing, two pointers, linked lists, stacks and queues, and heaps. For every topic, solve a few problems on paper first and then type them from a blank file. Work through the DSA practice set on Dronacharya Campus so you are comfortable with the pattern, not just one problem.
Weeks 3 and 4: trees, graphs, DP and tries
Do BST construction and traversal, BFS and DFS, topological sort, cycle detection, knapsack-style DP and one or two trie problems. For DP, write both the memoised and the tabulated version of the same problem at least a few times, since one candidate's memoised solution was borderline on time.
Week 5: test conditions
Sit timed two-question sets in the Campus code studio and write your own input parsing every time. Before submitting, check three things the reports flag: the modulo, integer overflow, and the edge cases that the four visible test cases will not cover. Use the constraints to work out the target complexity before you code: try a brute force first if you are stuck, then improve it.
Week 6: interviews and resume
Do mock interviews where you talk the whole time. Revise OS and OOP basics even though not every candidate was asked them (two accounts explicitly recommend it), using the CS fundamentals practice and our guide to technical interview questions for freshers. Prepare short answers to "why Microsoft", "why software" and "what do you expect from this internship".
What candidates advise
These are paraphrased from the accounts, grouped by theme.
On the test
- Start with a brute force that passes some cases, then use the constraints to find the expected complexity and optimise.
- Be fluent in your chosen language, because HackerRank gave no template and you handle all input yourself.
- For the implementation-heavy Codility problem, practise turning OOP ideas into working code.
On the interviews
- Think aloud constantly. One 2026-27 candidate believes this was the biggest reason they were selected.
- Do not jump straight to the optimal solution even if you know it. Several accounts say interviewers want to watch you move from brute force to optimal using the constraints.
- Do not wait for hints. You are expected to explain the solution to the interviewer, not the other way round, though panelists do help if you are on the right track.
- Explain why you picked a data structure, not just how your code works.
- Write readable code with good variable names, so the code explains itself.
- Prepare broadly. Some candidates got only HR, some only DSA, some a mix, so do not bet on one format.
On the resume
- Know every line. Panelists will ask about anything you wrote, and jargon you cannot defend works against you.
- Keep project explanations short and grounded. One candidate talked too long and lost the panelist.
- Be ready to say why you chose a technique, what alternatives you considered, what your own contribution was, and honestly how you used LLMs, if you did.
- One candidate suggests having at least one systems project and one ML or data project, so you can connect with panelists from different teams. Their ML-heavy resume was hard to discuss with panelists from other areas.
- Add GitHub links for projects, and do not list a skill or course you cannot talk about.
Frequently asked questions
How many rounds are there in the Microsoft interview process for freshers?
In the reports we have from 2024-25 and 2026-27, software interns faced one online coding test and two interviews. The 2024-25 data science track had a resume shortlist and two interviews with no test. Rounds change by season and role, so check the latest reports before your drive.
What is asked in the Microsoft online assessment?
Two coding questions, one easier and one harder. Reported topics include strings, palindromes, greedy, knapsack DP, heaps, tries, bit manipulation and hashing. In 2026-27, questions came from a pool, so different candidates got different sets.
Is the Microsoft OA on HackerRank or Codility?
Both have appeared. The 2024-25 software track used Codility (100 minutes), and the 2026-27 SWE intern test used HackerRank (75 minutes). On HackerRank there was no template code, so practise writing input parsing yourself.
Does Microsoft ask OS and OOP questions in the internship interview?
Sometimes. Some 2026-27 interviewers asked about OS, networks and threads versus processes, while others asked none. The 2024-25 second interview could include an OOP design problem. Candidates who were not asked these still recommend revising them.
Is there an HR round in the Microsoft internship interview?
Not as a separate round in the recent reports. In 2026-27, HR questions such as why Microsoft and your strengths and weaknesses were mixed into the second interview for some candidates. The 2024-25 software track reported no HR questions at all.
How should I prepare for Microsoft interview questions on DSA?
Focus on strings, heaps, DP, linked lists, trees and graphs, and practise explaining your approach aloud while coding without templates. Build from brute force to optimal in the interview rather than jumping to the answer. Timed practice helps because at least one candidate believes test speed affected selection.