Infosys vs ServiceNow Interview Questions

Infosys lists 105 LeetCode interview questions while ServiceNow lists 71. They share 27 problems — 26% of Infosys's bank and 38% of ServiceNow's. Focus on the overlap first, then drill into 78 Infosys-only and 44 ServiceNow-only questions.

Read the full Infosys vs ServiceNow preparation guide →

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
ServiceNow

71 questions

Easy 7Medium 51Hard 13

Preparation Strategy

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

Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Find Building Where Alice and Bob Can Meet, Minimum Reverse Operations 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
Infosys
32
ServiceNow
7
Medium
Infosys
57
ServiceNow
51
Hard
Infosys
16
ServiceNow
13

Top Shared Topics

27 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Next PermutationMedium
Maximum SubarrayMedium
Trapping Rain WaterHard
Merge IntervalsMedium
Generate ParenthesesMedium
Coin ChangeMedium
Group AnagramsMedium
Set Matrix ZeroesMedium
Move ZeroesEasy
Reverse Words in a StringMedium
Kth Largest Element in an ArrayMedium
Longest Palindromic SubstringMedium
Gas StationMedium
Single Element in a Sorted ArrayMedium
Number of IslandsMedium
Merge Two Sorted ListsEasy
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
4SumMedium
Combination SumMedium
Pow(x, n)Medium
Best Time to Buy and Sell Stock IIMedium
Container With Most WaterMedium

Unique to Infosys (78)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Minimum Total Distance TraveledHard

Unique to ServiceNow (44)

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

ProblemDifficulty
LRU CacheMedium
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
String CompressionMedium
Longest Repeating Character ReplacementMedium
Pacific Atlantic Water FlowMedium
First Missing PositiveHard
Sliding Window MaximumHard
Asteroid CollisionMedium
Number of Visible People in a QueueHard

Frequently Asked Questions

How many LeetCode questions do Infosys and ServiceNow share?

Infosys and ServiceNow share 27 LeetCode interview questions. 78 problems appear only in Infosys's list and 44 appear only in ServiceNow's list.

What topics overlap most between Infosys and ServiceNow?

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

Which company asks harder LeetCode questions: Infosys or ServiceNow?

Infosys has 32 Easy, 57 Medium, and 16 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 Infosys and ServiceNow?

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

Explore More