Infosys vs Yahoo Interview Questions

Infosys lists 105 LeetCode interview questions while Yahoo lists 34. They share 12 problems — 11% of Infosys's bank and 35% of Yahoo's. Focus on the overlap first, then drill into 93 Infosys-only and 22 Yahoo-only questions.

Read the full Infosys vs Yahoo preparation guide →

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
Yahoo

34 questions

Easy 11Medium 20Hard 3

Preparation Strategy

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

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 Yahoo-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Infosys skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Infosys
32
Yahoo
11
Medium
Infosys
57
Yahoo
20
Hard
Infosys
16
Yahoo
3

Top Shared Topics

12 Shared Questions

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

ProblemDifficulty
Two SumEasy
Valid ParenthesesEasy
Palindrome NumberEasy
Longest Common PrefixEasy
Spiral MatrixMedium
Linked List CycleEasy
Roman to IntegerEasy
Maximum Depth of Binary TreeEasy
Subarray Sum Equals KMedium
Median of Two Sorted ArraysHard
Combination SumMedium
Search in Rotated Sorted ArrayMedium

Unique to Infosys (93)

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

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
Longest Substring Without Repeating CharactersMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Best Time to Buy and Sell StockEasy
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium

Unique to Yahoo (22)

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

ProblemDifficulty
LRU CacheMedium
Reverse Linked ListEasy
Contains DuplicateEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Word BreakMedium
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium
Top K Frequent ElementsMedium

Frequently Asked Questions

How many LeetCode questions do Infosys and Yahoo share?

Infosys and Yahoo share 12 LeetCode interview questions. 93 problems appear only in Infosys's list and 22 appear only in Yahoo's list.

What topics overlap most between Infosys and Yahoo?

The most common shared topics between Infosys and Yahoo are Array (6 shared questions), Hash Table (4 shared questions), String (3 shared questions), Math (2 shared questions), Binary Search (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Infosys or Yahoo?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Infosys has a higher proportion of Hard problems in its interview set.

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

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

Explore More