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.
Overview
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
Top Shared Topics
27 Shared Questions
High-priority problems to practice for both Infosys and ServiceNow.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Valid Parentheses | Easy |
| Next Permutation | Medium |
| Maximum Subarray | Medium |
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Generate Parentheses | Medium |
| Coin Change | Medium |
| Group Anagrams | Medium |
| Set Matrix Zeroes | Medium |
| Move Zeroes | Easy |
| Reverse Words in a String | Medium |
| Kth Largest Element in an Array | Medium |
| Longest Palindromic Substring | Medium |
| Gas Station | Medium |
| Single Element in a Sorted Array | Medium |
| Number of Islands | Medium |
| Merge Two Sorted Lists | Easy |
| Subarray Sum Equals K | Medium |
| Median of Two Sorted Arrays | Hard |
| 4Sum | Medium |
| Combination Sum | Medium |
| Pow(x, n) | Medium |
| Best Time to Buy and Sell Stock II | Medium |
| Container With Most Water | Medium |
Unique to Infosys (78)
Problems in Infosys's list that do not appear at ServiceNow.
Unique to ServiceNow (44)
Problems in ServiceNow's list that do not appear at Infosys.
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.