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.
Overview
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
Top Shared Topics
12 Shared Questions
High-priority problems to practice for both Infosys and Yahoo.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Valid Parentheses | Easy |
| Palindrome Number | Easy |
| Longest Common Prefix | Easy |
| Spiral Matrix | Medium |
| Linked List Cycle | Easy |
| Roman to Integer | Easy |
| Maximum Depth of Binary Tree | Easy |
| Subarray Sum Equals K | Medium |
| Median of Two Sorted Arrays | Hard |
| Combination Sum | Medium |
| Search in Rotated Sorted Array | Medium |
Unique to Infosys (93)
Problems in Infosys's list that do not appear at Yahoo.
Unique to Yahoo (22)
Problems in Yahoo's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Reverse Linked List | Easy |
| Contains Duplicate | Easy |
| Serialize and Deserialize Binary Tree | Hard |
| Largest Palindrome Product | Hard |
| Word Break | Medium |
| Matrix Cells in Distance Order | Easy |
| Non-decreasing Subsequences | Medium |
| Maximum Distance in Arrays | Medium |
| Binary Number with Alternating Bits | Easy |
| Peeking Iterator | Medium |
| Top K Frequent Elements | Medium |
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.