IBM vs ServiceNow Interview Questions

IBM lists 115 LeetCode interview questions while ServiceNow lists 71. They share 17 problems — 15% of IBM's bank and 24% of ServiceNow's. Focus on the overlap first, then drill into 98 IBM-only and 54 ServiceNow-only questions.

Read the full IBM vs ServiceNow preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
ServiceNow

71 questions

Easy 7Medium 51Hard 13

Preparation Strategy

Step 1 — Shared core: Solve the 17 overlapping problems first. These are the highest-yield questions for candidates interviewing at both IBM and ServiceNow.

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, 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

Easy
IBM
33
ServiceNow
7
Medium
IBM
73
ServiceNow
51
Hard
IBM
9
ServiceNow
13

Top Shared Topics

17 Shared Questions

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

ProblemDifficulty
Best Time to Buy and Sell StockEasy
Two SumEasy
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Valid ParenthesesEasy
Letter Combinations of a Phone NumberMedium
Longest Palindromic SubstringMedium
Maximum SubarrayMedium
Group AnagramsMedium
Trapping Rain WaterHard
Next PermutationMedium
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Gas StationMedium
Generate ParenthesesMedium
LRU CacheMedium

Unique to IBM (98)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
3SumMedium
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Count Ways to Group Overlapping RangesMedium
Meeting Rooms IIMedium
Rotate ImageMedium
Minimum Absolute DifferenceEasy

Unique to ServiceNow (54)

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

ProblemDifficulty
Number of Distinct Roll SequencesHard
Lexicographically Smallest String After Operations With ConstraintMedium
Find Minimum Diameter After Merging Two TreesHard
Maximum Score with Co-Prime ElementHard
Number of IslandsMedium
Longest Repeating Character ReplacementMedium
Container With Most WaterMedium
Pacific Atlantic Water FlowMedium
First Missing PositiveHard
Sliding Window MaximumHard
Best Time to Buy and Sell Stock IIMedium
Asteroid CollisionMedium

Frequently Asked Questions

How many LeetCode questions do IBM and ServiceNow share?

IBM and ServiceNow share 17 LeetCode interview questions. 98 problems appear only in IBM's list and 54 appear only in ServiceNow's list.

What topics overlap most between IBM and ServiceNow?

The most common shared topics between IBM and ServiceNow are Array (10 shared questions), String (7 shared questions), Hash Table (6 shared questions), Dynamic Programming (5 shared questions), Two Pointers (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or ServiceNow?

IBM has 33 Easy, 73 Medium, and 9 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 IBM and ServiceNow?

Start with the 17 shared problems since they cover what both companies ask most often. Then add 20 IBM-specific and 20 ServiceNow-specific questions to round out your prep.

Explore More