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.

Read the full Google vs ServiceNow preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
ServiceNow

71 questions

Easy 7Medium 51Hard 13

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

Easy
Google
601
ServiceNow
7
Medium
Google
1205
ServiceNow
51
Hard
Google
499
ServiceNow
13

Top Shared Topics

64 Shared Questions

High-priority problems to practice for both Google and ServiceNow.

ProblemDifficulty
Two SumEasy
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Longest Palindromic SubstringMedium
Container With Most WaterMedium
Valid ParenthesesEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Subarray Sum Equals KMedium
Merge Two Sorted ListsEasy
Next PermutationMedium
Generate ParenthesesMedium
Reverse Linked ListEasy
Move ZeroesEasy
LRU CacheMedium
4SumMedium
Letter Combinations of a Phone NumberMedium
Top K Frequent ElementsMedium
Find Peak ElementMedium
Kth Largest Element in an ArrayMedium
Group AnagramsMedium
Sort ColorsMedium
Pow(x, n)Medium
Sliding Window MaximumHard
Longest Repeating Character ReplacementMedium
Single Element in a Sorted ArrayMedium
Zigzag ConversionMedium

Showing top 30 of 64 shared problems.

Unique to Google (2,241)

Problems in Google's list that do not appear at ServiceNow.

ProblemDifficulty
Add Two NumbersMedium
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
3SumMedium
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Consecutive SequenceMedium
Recyclable and Low Fat ProductsEasy
Majority ElementEasy
Roman to IntegerEasy
Reverse IntegerMedium

Unique to ServiceNow (7)

Problems in ServiceNow's list that do not appear at Google.

ProblemDifficulty
Number of Distinct Roll SequencesHard
Lexicographically Smallest String After Operations With ConstraintMedium
Maximum Score with Co-Prime ElementHard
Reverse Words in a String IIMedium
Vowels of All SubstringsMedium
Time Needed to Rearrange a Binary StringMedium
Maximum Profit From Trading StocksMedium

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.

Explore More