Google vs ServiceNow Interview Questions
Google lists 2,305 LeetCode interview questions while ServiceNow lists 71. They share 64 problems — 3% of Google's bank and 90% of ServiceNow's. Focus on the overlap first, then drill into 2,241 Google-only and 7 ServiceNow-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 64 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Google and ServiceNow.
Step 2 — Company-specific depth: Add Google-specific problems like Add Two Numbers, Longest Common Prefix, Palindrome Number and ServiceNow-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Google skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
64 Shared Questions
High-priority problems to practice for both Google and ServiceNow.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Longest Palindromic Substring | Medium |
| Container With Most Water | Medium |
| Valid Parentheses | Easy |
| Merge Intervals | Medium |
| Number of Islands | Medium |
| Maximum Subarray | Medium |
| Subarray Sum Equals K | Medium |
| Merge Two Sorted Lists | Easy |
| Next Permutation | Medium |
| Generate Parentheses | Medium |
| Reverse Linked List | Easy |
| Move Zeroes | Easy |
| LRU Cache | Medium |
| 4Sum | Medium |
| Letter Combinations of a Phone Number | Medium |
| Top K Frequent Elements | Medium |
| Find Peak Element | Medium |
| Kth Largest Element in an Array | Medium |
| Group Anagrams | Medium |
| Sort Colors | Medium |
| Pow(x, n) | Medium |
| Sliding Window Maximum | Hard |
| Longest Repeating Character Replacement | Medium |
| Single Element in a Sorted Array | Medium |
| Zigzag Conversion | Medium |
Showing top 30 of 64 shared problems.
Unique to Google (2,241)
Problems in Google's list that do not appear at ServiceNow.
| Problem | Difficulty |
|---|---|
| Add Two Numbers | Medium |
| Longest Common Prefix | Easy |
| Palindrome Number | Easy |
| Merge Sorted Array | Easy |
| 3Sum | Medium |
| Create Hello World Function | Easy |
| Merge Strings Alternately | Easy |
| Longest Consecutive Sequence | Medium |
| Recyclable and Low Fat Products | Easy |
| Majority Element | Easy |
| Roman to Integer | Easy |
| Reverse Integer | Medium |
Unique to ServiceNow (7)
Problems in ServiceNow's list that do not appear at Google.
Frequently Asked Questions
How many LeetCode questions do Google and ServiceNow share?
Google and ServiceNow share 64 LeetCode interview questions. 2241 problems appear only in Google's list and 7 appear only in ServiceNow's list.
What topics overlap most between Google and ServiceNow?
The most common shared topics between Google and ServiceNow are Array (19 shared questions), Hash Table (8 shared questions), String (8 shared questions), Two Pointers (7 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Google or ServiceNow?
Google has 601 Easy, 1205 Medium, and 499 Hard questions. ServiceNow has 7 Easy, 51 Medium, and 13 Hard questions. Google has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Google and ServiceNow?
Start with the 64 shared problems since they cover what both companies ask most often. Then add 20 Google-specific and 7 ServiceNow-specific questions to round out your prep.