Microsoft Principal coding interview questions
These are the 6 coding questions YourAlly has tagged for Microsoft at Principal. Principal is the common India title for this level. At Microsoft it is Principal Software Engineer, levels 65 and 66. YourAlly treats it as Staff (E6), the same level as Google L6, Meta E6 and Amazon L7.
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. At this level interviewers also expect clean code quickly and edge cases you raise before they do.
Practice a mock Microsoft Principal coding loopPractice Microsoft coding questions
Diff Two Config MapsFree to read
Given two string maps, return added, removed, changed keys. Input: a, b Output: {added,removed,changed}
5 more coding questions
- Evaluate a Spreadsheet Formula Locked
- Find Dictionary Words in a Letter Grid Locked
- Merge Meeting Intervals Locked
- Serialize Nested Folders Locked
- Tenant-Aware LRU Cache Locked
Related pages
More Microsoft Principal rounds
- Behavioral 12 questions
Microsoft coding at other levels
- SDE-3 7 questions
- Senior Principal 6 questions
- Senior EM 4 questions
Other companies at this level
- Adobe Principal 4 questions
- Amazon Principal 6 questions
- Apple Principal 7 questions
- Cisco Principal 3 questions
- Google Principal 14 questions
- IBM Principal 3 questions