Microsoft vs ServiceNow Interview Questions
Microsoft lists 192 LeetCode interview questions while ServiceNow lists 71. They share 40 problems — 21% of Microsoft's bank and 56% of ServiceNow's. Focus on the overlap first, then drill into 152 Microsoft-only and 31 ServiceNow-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 40 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Microsoft and ServiceNow.
Step 2 — Company-specific depth: Add Microsoft-specific problems like Merge Sorted Array, Add Two Numbers, 3Sum and ServiceNow-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: ServiceNow skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
40 Shared Questions
High-priority problems to practice for both Microsoft and ServiceNow.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Longest Palindromic Substring | Medium |
| Trapping Rain Water | Hard |
| Single Element in a Sorted Array | Medium |
| Merge Intervals | Medium |
| Median of Two Sorted Arrays | Hard |
| Valid Parentheses | Easy |
| Maximum Subarray | Medium |
| Group Anagrams | Medium |
| Merge Two Sorted Lists | Easy |
| Container With Most Water | Medium |
| Sort Colors | Medium |
| Set Matrix Zeroes | Medium |
| Letter Combinations of a Phone Number | Medium |
| Number of Islands | Medium |
| Generate Parentheses | Medium |
| Find Peak Element | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Move Zeroes | Easy |
| Next Permutation | Medium |
| Combination Sum | Medium |
| First Missing Positive | Hard |
| Jump Game II | Medium |
| Reverse Words in a String | Medium |
| Pow(x, n) | Medium |
| 4Sum | Medium |
| Gas Station | Medium |
| Subarray Sum Equals K | Medium |
| Sliding Window Maximum | Hard |
Showing top 30 of 40 shared problems.
Unique to Microsoft (152)
Problems in Microsoft's list that do not appear at ServiceNow.
| Problem | Difficulty |
|---|---|
| Merge Sorted Array | Easy |
| Add Two Numbers | Medium |
| 3Sum | Medium |
| Search in Rotated Sorted Array | Medium |
| Reverse Nodes in k-Group | Hard |
| Roman to Integer | Easy |
| Spiral Matrix | Medium |
| Climbing Stairs | Easy |
| Rotate Image | Medium |
| Palindrome Number | Easy |
| Merge k Sorted Lists | Hard |
| Longest Common Prefix | Easy |
Unique to ServiceNow (31)
Problems in ServiceNow's list that do not appear at Microsoft.
Frequently Asked Questions
How many LeetCode questions do Microsoft and ServiceNow share?
Microsoft and ServiceNow share 40 LeetCode interview questions. 152 problems appear only in Microsoft's list and 31 appear only in ServiceNow's list.
What topics overlap most between Microsoft and ServiceNow?
The most common shared topics between Microsoft and ServiceNow are Array (22 shared questions), Two Pointers (8 shared questions), Hash Table (7 shared questions), String (7 shared questions), Dynamic Programming (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Microsoft or ServiceNow?
Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. ServiceNow has 7 Easy, 51 Medium, and 13 Hard questions. ServiceNow has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Microsoft and ServiceNow?
Start with the 40 shared problems since they cover what both companies ask most often. Then add 20 Microsoft-specific and 20 ServiceNow-specific questions to round out your prep.