Microsoft OA Questions 2024: What Candidates Actually Saw
Last updated: May 2026
91+ Microsoft online assessment questions reported by candidates who took the OA in 2024. Sourced from 1Point3Acres, LeetCode, Blind, Glassdoor, and Reddit. Data grows as new reports are added.
Microsoft OA Format in 2024
The Microsoft online assessment has followed a consistent format across multiple hiring cycles. Based on 2024 reports in the database, candidates typically see 2 to 3 algorithmic coding problems delivered through a proctored online platform (most commonly HackerRank). Some roles include additional behavioral or work-simulation components after the coding section.
Time limits reported by candidates range from 70 to 110 minutes for the full assessment. The coding problems are auto-graded, so edge case handling and runtime efficiency both matter. Partial credit is available on some platforms if your solution passes a subset of test cases.
Real Microsoft OA Questions from 2024
Microsoft OA
There are n blacklisted IP regexes given as an array of strings. It consists of * or \'.\' e.g. .123. matches with "12.1.123.45", "1.123.435.12", but not with "1.2.3.4". There are...
Microsoft OA
There are N clients who have ordered N handmade items. The K-th client ordered exactly one item that takes T[k] hours to make. There is only one employee who makes...
Microsoft OA
You are presented with a two-dimensional grid of size N x M (N rows and M columns). Each cell in the grid is either black ("B") or white ("w"). A...
Microsoft OA
1)Hotspot Connection - Very very leetcode hard There are employee_nodes employees in a company, out of which there are k special employees who have data network and share their mobile hotspots...
Microsoft OA
Q1. In a 2D MAtrix of size NxM, you start from (0,0) and travel (N-1, M-1). You can move down left and right and not up. If the matrix node contains...
Microsoft OA
Question 1: There is a cleaning robot which is cleaning a rectangular grid of size N x M, represented by array R consisting of N strings. Rows are numbered from 0...
Microsoft Interview Experience
I got a call from rercruiter that, i will be given a test link for OA and based on the result i will be considered for next drive. Round 0 ->...
Microsoft OA Question
You are given a string S made of N digits that represents a positive integer. Among all positive integers smaller than S, find the one with the maximum possible sum of...
Microsoft | OA
1.A technology company announced that a new supply of P monitors would soon be available at their store, There were N orders (numbered from 0 to N-1) placed by customers who...
Microsoft Oa
Could anyone tell the approach to the question if we have been givne the string a and s of equal length. they are very long. we need to reduce the...
Microsoft Oa
You want to visit your friend, who lives abroad. It is time to plan the whole journey, both there and back. The trip will be long, so you would like...
Microsoft Interview Experience (Off-Campus)
I attended a Microsoft Off campus drive for Intern Hiring in 2019 and here’s my Interview Experience.Round - 1: Online Coding Round on Mettl WebsiteMicrosoft Conducted an ...
Microsoft L60 Interview Experience
OA : Complex Greedy Question & simple DFS with Bit Manipulation Interview 1 : Project Discussion & Variation of https://leetcode.com/problems/leaf-similar-trees/description/ (expected solution with a single DFS call) Interview 2 : A...
Microsoft | SDE2 | Bangalore | 31 May 2024 [Reject]
I\'m writing this post to share my experience interviewing for an SDE 2 position at Microsoft in 31st May 2024. I have done MTech CSE from a Tier-1 College and...
Microsoft | SWE Intern | Hyderabad, Bengaluru, Noida | Sep 2024 [Offer]
I want to share my Microsoft Software Engineer Intern 2025 interview experience with you! The process was both challenging and insightful, consisting of the following stages: 1. \uD835\uDDE5\uD835\uDDF2\uD835\uDE00\uD835\uDE02\uD835\uDDFA\uD835\uDDF2 \uD835\uDDE6\uD835\uDDF2\uD835\uDDF9\uD835\uDDF2\uD835\uDDF0\uD835\uDE01\uD835\uDDF6\uD835\uDDFC\uD835\uDDFB: My resume was...
Microsoft | L60 | Hyderabad
Education: B.Tech in Computer Science from tier 4 college Years of experience: 2+ years Location: Hyderabad Company : Microsoft Position : L60 Date : May\'24 I directly got a call from HR. Within 2 days, I...
Microsoft OA - SDE 2
Hi all, I recently gave Microsoft OA for SDE - 2 position. Following were the questions asked. 1. Given an integer array, find the maximum integer K which appears exactly K...
Microsoft(Codility Test)
Can anyone please help me solve this problem: You are given a task to fix potholes in a road. The road is described by a string S consisting of N characters....
Microsoft Interview Experience[Offer]
Here to share my microsoft interview experience. I read a lot of these posts to gain an understanding of what the interview might feel like and hence contributing toward helping...
Microsoft SDE NG OA February
Maximizing Difference in Array Elements with Moves: Given an array A of integers (size N, divisible by 3) and an integer K representing the maximum number of moves allowed, you can...
Topic Breakdown (2024 OA)
Topics reported by candidates who took the Microsoft OA in 2024:
Difficulty Breakdown (2024 OA)
27
easy
13
hard
6
medium
Difficulty labels are reported by candidates or inferred from LeetCode ratings.
How to Prepare for the Microsoft OA
The Microsoft OA is a timed, auto-graded coding test. Preparation is different from interview prep: you need to optimize for both correctness and speed, since partial credit requires passing test cases, not just showing reasoning.
- Practice timed sessions. Set a timer for 35 to 45 minutes per problem and simulate the real constraint.
- Focus on the topic clusters that appear most in Microsoft OA reports: dynamic programming, graphs, arrays, and strings make up the majority of reported problems.
- Read the problem constraints carefully before writing code. The constraints often reveal the expected time complexity and algorithm type.
- Use the LeakCode database to review 2024 OA questions from actual candidates. Pattern recognition across multiple sightings is a stronger prep signal than any single mock problem.
- If the OA includes a work simulation section, practice under realistic conditions. This section tests judgment and values alignment, not coding ability.
FAQ
What does the Microsoft OA look like in 2024?
Based on 2024 candidate reports, the Microsoft OA typically includes 2 to 3 coding problems and runs 70 to 110 minutes. Topics lean toward dynamic programming, graphs, arrays, and strings. Some roles include a work simulation section after the coding component.
How long is the Microsoft OA?
Most candidates report 70 to 90 minutes for the coding component. Roles with additional work simulation sections extend the total time to 110 to 150 minutes. Check your invitation email for the exact time allocation for your specific role.
What platform does Microsoft use for the OA?
Microsoft uses HackerRank or its own proprietary platform depending on the role and hiring cycle. Your invitation will specify the platform. Both platforms support multiple languages including Python, Java, C++, and JavaScript.
Are these real Microsoft OA questions?
Yes. All questions in the LeakCode database come from candidate reports on 1Point3Acres, Blind, Glassdoor, Reddit, and LeetCode. They are not AI-generated. Each question links to its source where available.
Other Microsoft OA Years
Related: Microsoft OA Hub · Microsoft All Questions · All OA Questions · Data Sources