ServiceNow vs Yahoo Interview Questions

ServiceNow lists 71 LeetCode interview questions while Yahoo lists 34. They share 10 problems — 14% of ServiceNow's bank and 29% of Yahoo's. Focus on the overlap first, then drill into 61 ServiceNow-only and 24 Yahoo-only questions.

Read the full ServiceNow vs Yahoo preparation guide →

Overview

ServiceNow

71 questions

Easy 7Medium 51Hard 13
Yahoo

34 questions

Easy 11Medium 20Hard 3

Preparation Strategy

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

Step 2 — Company-specific depth: Add ServiceNow-specific problems like Longest Substring Without Repeating Characters, Number of Distinct Roll Sequences, Lexicographically Smallest String After Operations With Constraint and Yahoo-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
ServiceNow
7
Yahoo
11
Medium
ServiceNow
51
Yahoo
20
Hard
ServiceNow
13
Yahoo
3

Top Shared Topics

10 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Valid ParenthesesEasy
Longest Repeating Character ReplacementMedium
Two SumEasy
Median of Two Sorted ArraysHard
Reverse Linked ListEasy
Top K Frequent ElementsMedium
Find Peak ElementMedium
Subarray Sum Equals KMedium
Combination SumMedium

Unique to ServiceNow (61)

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

ProblemDifficulty
Longest Substring Without Repeating CharactersMedium
Number of Distinct Roll SequencesHard
Lexicographically Smallest String After Operations With ConstraintMedium
Find Minimum Diameter After Merging Two TreesHard
Trapping Rain WaterHard
Maximum Score with Co-Prime ElementHard
Number of IslandsMedium
Generate ParenthesesMedium
String CompressionMedium
Container With Most WaterMedium
Pacific Atlantic Water FlowMedium
First Missing PositiveHard

Unique to Yahoo (24)

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

ProblemDifficulty
Maximum Depth of Binary TreeEasy
Contains DuplicateEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Roman to IntegerEasy
Word BreakMedium
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium

Frequently Asked Questions

How many LeetCode questions do ServiceNow and Yahoo share?

ServiceNow and Yahoo share 10 LeetCode interview questions. 61 problems appear only in ServiceNow's list and 24 appear only in Yahoo's list.

What topics overlap most between ServiceNow and Yahoo?

The most common shared topics between ServiceNow and Yahoo are Array (6 shared questions), Hash Table (5 shared questions), Linked List (2 shared questions), String (2 shared questions), Binary Search (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: ServiceNow or Yahoo?

ServiceNow has 7 Easy, 51 Medium, and 13 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. ServiceNow has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both ServiceNow and Yahoo?

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

Explore More