Company Corner

Microsoft Placement Papers: 2026 Test Pattern and Syllabus

Microsoft campus hiring has 2 coding problems and no aptitude filler. 2026 test pattern, topic-by-topic syllabus, and a 6-week DSA prep roadmap.

By FACE Prep Team 5 min read
microsoft placement-papers test-pattern dsa coding-test campus-placement company-corner

Microsoft’s campus online assessment has exactly two coding problems and a 60-minute timer. No aptitude, no verbal reasoning, no logical reasoning filler that IT-services recruiters typically stack onto their tests. A strong performance on two problems determines whether you get an interview slot.

That stripped-down format is actually harder to prepare for than a multi-section test, because there is no section to skip and no easy marks to bank. This guide covers the 2026 test pattern, the topic-by-topic syllabus, and a preparation plan that fits inside a typical final-year placement window.

Recruitment Rounds at a Glance

Microsoft’s full campus process runs in 4 to 5 rounds. The online assessment is the entry gate; clearing it moves you into a sequence of technical and HR rounds. The Microsoft Careers India page lists current open roles and campus programme details.

RoundFormatDurationWhat it tests
Online Assessment (OA)2 coding problems60 minDSA, problem-solving
Technical Interview 1Live coding + discussion45–60 minTrees, arrays, DP
Technical Interview 2Deeper DS or design45–60 minGraphs, OOP, systems
HR InterviewConversation30 minCommunication, fit

Some batches include a fifth round, a hiring manager or problem-design round, depending on the role (SWE, SDET, or PM) and the year’s headcount.

For a detailed walkthrough of what each round looks like from a candidate’s perspective, see the Microsoft campus recruitment process guide.

What the Online Assessment Tests

The OA is purely algorithmic. There are two problems, both requiring working code that passes automated test cases. No MCQs, no fill-in-the-blank, no essay responses.

Platforms Microsoft has used for campus drives include HackerRank and CodePair, though this varies by campus and year. Whatever the platform, the evaluation criteria are the same: correctness first, then time complexity, then code readability.

The two problems are not equal in difficulty. One is typically a medium-difficulty problem on a standard DSA topic; the second is harder and often involves dynamic programming, graph traversal, or a non-obvious reduction. Both problems are solvable in C++, Java, or Python; C++ and Java are the dominant choices among candidates who clear the OA, primarily because standard library tools for trees and graphs are more concise in those languages.

Key facts about the OA format:

  • 2 problems, 60 minutes total
  • Language options: C++, Java, Python (and sometimes C, C#)
  • No partial credit by default; a solution either passes all test cases or not, though some platforms give partial credit for partial test cases
  • No debugging aids; you write from scratch

DSA Topics by Priority

The Microsoft OA does not have a published syllabus, but the pattern across recent campus drives is consistent enough to build a working topic list. Priority here reflects how often these topics appear, not how difficult they are.

TopicPriorityCommon sub-types
Binary Trees and BSTHighInorder/preorder traversal, LCA, height-balanced construction
Arrays and StringsHighRotated sorted array, subarray problems, two-pointer
Linked ListsHighReversal, merge, cycle detection, modification patterns
Dynamic ProgrammingHighKnapsack variants, longest subsequence, interval DP
GraphsMediumBFS/DFS, connected components, shortest path
Recursion and BacktrackingMediumPower set, permutations, N-queens
Bit ManipulationMediumCounting set bits, XOR tricks
HashingMediumDuplicate detection, frequency maps
DBMS and OS ConceptsLowProcess vs. thread, transaction isolation (written round)
Object-Oriented DesignLowClass design, calendar/scheduling problems

For worked examples and code walkthroughs on the high-priority topics, the 20 most-asked data structures interview questions collection covers most of the canonical problem types.

Sample Question Types From Past Papers

These question types have appeared in Microsoft campus drives across multiple years. They represent the style and difficulty level of the OA, not a guarantee of future questions.

Array and Binary Search problems:

  • Given a rotated sorted integer array, find the position of a given key using a modified binary search. Return -1 if not found.
  • Given an array of size K where every number is between 1 and K, check for duplicates without extra space.
  • Count the number of 1-bits in a K-bit number.

Binary Tree and BST problems:

  • Find the inorder successor of a given node in a binary search tree.
  • Given a sorted integer array, construct a height-balanced binary search tree.
  • Given a binary tree, find the subtree that is the largest BST (by node count).

Linked List problems:

  • Modify a linked list to retain the first a nodes, delete the next b nodes, and repeat until the end.

Recursion and Design problems:

  • Generate the power set of a given set, both iteratively and recursively.
  • Design a class for calendar incidents that repeat every N days and return all incidents between two dates.

These are not the same as “memorise this problem, it will appear.” Microsoft engineers write new variants each year. The value in this list is pattern recognition: if you can solve the BST height-balance problem, you can solve its variants. If you understand the retain-and-delete linked list pattern, you have the pointer-manipulation framework for a wide range of linked list modification questions.

Six-Week Preparation Plan

This plan assumes roughly 1.5 to 2 hours of focused practice per day alongside regular coursework.

Week 1: Arrays and Strings

  • Cover two-pointer, sliding window, and binary search patterns
  • Solve 20 to 25 problems in this category on LeetCode (Easy to Medium)
  • Focus: getting comfortable writing clean loops and edge-case handling

Week 2: Linked Lists

  • Cover reversal, merge, cycle detection, and modification patterns
  • Solve 15 to 20 problems
  • Write each solution in your preferred language from scratch, not by copying

Week 3: Trees and BST

  • Cover traversals (inorder, preorder, postorder), LCA, height-balanced construction
  • Solve 20 to 25 problems
  • Explicitly code the recursive and iterative versions of each traversal

Week 4: Dynamic Programming

  • Cover 1D DP (Fibonacci, house robber, climb stairs), 2D DP (grid paths, LCS), and knapsack
  • Solve 15 to 20 problems
  • For each problem, write the recurrence relation before coding

Week 5: Graphs and Backtracking

  • Cover BFS/DFS, connected components, power set, permutations
  • Solve 15 to 20 mixed problems
  • At least 5 graph problems and 5 backtracking problems

Week 6: Full Mock and Review

  • Use the LeetCode Microsoft company tag to filter recent Microsoft-tagged problems
  • Simulate the OA: pick 2 problems, set a 60-minute timer, submit
  • Review mistakes, identify which topic category each mistake falls under
  • Spend the last 2 to 3 days on DBMS and OS basics for the written round

The 60-minute simulation in Week 6 matters more than the individual-problem drilling. Most OA failures come down to time management, not knowledge gaps. Spending 50 minutes on the first problem and running out of clock on the second is the pattern.

Applying the Same Skills to AI Projects

The recursive decomposition that DP questions train (breaking a large problem into sub-problems, tracking intermediate state, reasoning about time complexity) is the same cognitive approach AI engineers use when building retrieval pipelines and agent systems. If you want to add an LLM project to your resume before the interview cycle begins, TinkerLLM is a ₹299 entry point with hands-on builds. The problem-solving preparation you are already doing for the OA transfers more directly than you might expect.

Primary sources

Frequently asked questions

Does Microsoft hire from Tier-2 colleges in India?

Yes. Microsoft conducts on-campus drives at select Tier-2 colleges across India, particularly for its India Development Center roles. Eligibility criteria vary by campus and year; check the placement cell notice from Microsoft directly rather than relying on third-party lists.

What programming language should I use in the Microsoft OA?

C++ and Java are the most common choices among shortlisted candidates. Python is accepted on most platforms Microsoft uses, but runtime performance on large test cases can be tighter. If you are comfortable with clean C++ STL usage, that is a safe default.

How many rounds are there in Microsoft's campus recruitment?

Typically 4 to 5 rounds: an online assessment, two technical interview rounds, a hiring manager or design round (for some roles), and an HR round. The number of technical rounds can increase depending on the role and year.

Is a CGPA cutoff required for the Microsoft campus placement?

Most on-campus Microsoft drives specify a minimum CGPA in the 7.0 range, though the exact cutoff varies by college and role. Always verify the current year's criteria with your placement cell.

How hard are the coding problems in the Microsoft online assessment?

The two OA problems are typically at LeetCode Medium to Hard difficulty. One problem often tests a standard DSA concept (trees, arrays, strings) at a medium level; the second tends to involve dynamic programming or graph traversal.

What happens after clearing the Microsoft OA?

Shortlisted candidates proceed to technical interviews, usually conducted by Microsoft engineers. These are conversational problem-solving sessions where you write and explain code on a shared screen, not just produce answers.

Can I use GeeksforGeeks or LeetCode to prepare for the Microsoft OA?

Both are useful. LeetCode's Microsoft company tag filters problems that have appeared in past Microsoft interviews. GeeksforGeeks has explanations for classic DSA patterns. Use both; they cover different learning modes.

Build AI projects

A self-paced playground for building with LLMs.

TinkerLLM is FACE Prep's sister property. A guided environment for shipping real LLM applications, the kind of project that earns a paragraph on your resume, not a line.

Try TinkerLLM (₹299 launch)
Free AI Roadmap PDF