Microsoft · HackerRank
Microsoft OA mock: 2 questions in 90 minutes
Take a timed Microsoft OA mock on CSWork: 2 coding questions in 90 minutes, judged online HackerRank-style, auto-submitted at time-up and scored.
Start the Microsoft mock →78 judgeable problems in the pool (OA bank + frequent LeetCode)
The real Microsoft OA format
- Platform
- HackerRank
- Questions
- 2
- Time limit
- 90 minutes
- Difficulty order
- medium → medium
- Scoring
- Each question 0–100 by tests passed
- Roles
- SWE intern, New grad (SDE)
- Besides coding
- None (occasionally a few MCQs or a debugging task)
Intern/new-grad OAs are most often 2 HackerRank problems in 90 min; some batches use Codility (2 problems, 100–110 min, hidden test results not shown). Common topics: strings, greedy, sliding window, prefix sums, DP.
What the Microsoft OA tests
Mostly arrays, strings, hash counting and greedy, with the occasional bit or math problem. Difficulty is easy to medium, but the hidden tests are strict on both correctness and speed.
Pick a topic to practise its stop on Line 500.
Estimated difficulty mix
- easy 25%
- medium 51%
- hard 24%
- Style
- Short, direct statements with no story, mostly twists on classics: anagrams, multiplying numbers stored as strings, a queue built from stacks, validating a BST postorder. On Codility you don't see hidden test results before submitting.
- How to prepare
- Before submitting, run empty input, a single element, integer overflow and max-size n yourself. Practice Microsoft-tagged array, string and hashing problems on a timer without looking at test feedback, the way Codility runs it.
What this mock simulates
- 2 coding questions, in the order medium → medium
- A 90-minute countdown that keeps running if you leave, and submits itself at zero
- Problems drawn from Microsoft's OA bank and its frequent LeetCode questions, preferring ones you have not solved
- Solutions and hints stay hidden until you finish; then a score report and the solutions
Not simulated
- Camera, microphone or screen proctoring, and plagiarism checks
- HackerRank's own editor; you use the CSWork editor and judge