Microsoft Senior EM coding interview questions
These are the 4 coding questions YourAlly has tagged for Microsoft at Senior EM. Senior EM (M2) is the level where you manage other managers.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. Manager loops include less coding, but you still need to reason about code and review it well.
Practice a mock Microsoft Senior EM coding loopPractice Microsoft coding questions
Tenant-Aware LRU CacheFree to read
Implement an LRU cache that also enforces a per-tenant entry cap.
Operations: get(key), put(key,value,tenant_id) Constraints: capacity global, max_per_tenant
3 more coding questions
- Diff Two Config Maps Locked
- Merge Meeting Intervals Locked
- Serialize Nested Folders Locked
Related pages
More Microsoft Senior EM rounds
- Behavioral 4 questions
Microsoft coding at other levels
- Senior 7 questions
- SDE-3 7 questions
- Staff 6 questions
- Principal 6 questions
- Senior staff 6 questions
- Senior Principal 6 questions
Other companies at this level
- Airbnb Senior EM 4 questions
- Anthropic Senior EM 4 questions
- Apple Senior EM 4 questions
- Google Senior EM 14 questions
- LinkedIn Senior EM 4 questions
- Meta Senior EM 14 questions