Yahoo Interview Prep (SWE / Senior)

Yahoo settles fit and level before it tests engineering ability. The hiring manager round is reported as the second stage, ahead of any technical evaluation, which inverts the usual order and means the early conversation carries more weight than candidates expect.

The technical screen is also role-matched rather than uniform: frontend candidates report getting a frontend problem rather than generic data structures. Across the technical rounds, questions about your own projects take up a meaningful share of the time alongside one problem per round.


Interview Process

Stage Duration Focus
Recruiter Screen 30 min Background, role and level calibration
Hiring Manager 30-45 min Team fit and project depth, before any coding
Technical Screen 45-60 min CoderPad. Resume questions plus one LeetCode medium. Frontend problem for UI roles
Final Loop 60 min each 3 back-to-back rounds. Coding, system design, behavioural

A senior software engineer reports exactly this five-stage shape. Intern loops are much shorter, commonly a recruiter call and a single technical conversation on data structures and object-oriented programming.

Older India campus reports describe a different front end to the funnel: a twenty-five question objective round spanning algorithms, data structures, operating systems, networking, databases and maths puzzles, used as the shortlist filter before any coding.

Some teams are reported to run an AI-assisted coding round where you are expected to use an integrated tool and then verify and debug its output. That claim comes from an aggregator rather than a first-person report, so treat it as unconfirmed.


What Yahoo Actually Tests

Derived from 33 reported Yahoo-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 11 33%
Medium 19 58%
Hard 3 9%

The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Arrays & Hashing 8 24%
2 Trees 4 12%
3 Backtracking 4 12%
4 Binary Search 3 9%
5 Design (Coding) 2 6%
6 Tries & String Search 2 6%
7 Heap / Priority Queue 2 6%
8 Stack & Monotonic Stack 2 6%
9 Math & Bit Manipulation 1 3%
10 Sliding Window & Two Pointers 1 3%

Yahoo Signature Problems

These rank high on Yahoo’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Largest Palindrome Product Enumeration + Math Hard 2 of 142 LeetCode →
2 Maximum Distance in Arrays Greedy Medium 3 of 142 LeetCode →
3 Peeking Iterator Iterator + Design Medium 3 of 142 LeetCode →
4 Binary Number with Alternating Bits Bit Manipulation Easy 4 of 142 LeetCode →
5 Non-decreasing Subsequences Backtracking + Bit Manipulation Medium 4 of 142 LeetCode →
6 Serialize and Deserialize Binary Tree Binary Tree + Design Hard 21 of 142 Solve →
7 Word Break Brute-Force Search + Memoization Medium 24 of 142 Solve →
8 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard 39 of 142 Solve →
9 LRU Cache Doubly Linked List + Design Medium 84 of 142 Solve →
10 Top K Frequent Elements Quickselect + Bucket Sort Medium 46 of 142 Solve →
11 Combination Sum Backtracking Medium 22 of 142 Solve →
12 Shortest Path in Binary Matrix BFS Medium 13 of 142 Solve →

If you are short on time, these carry more Yahoo-specific signal per hour than the universal top-100 lists.


System Design (HLD) Problems Asked at Yahoo

# Problem Difficulty Link
1 News Aggregator Intermediate Read →
2 Search Autocomplete Intermediate Read →
3 Ad Serving System Advanced Read →
4 Trending Topics Advanced Read →
5 Distributed Cache Advanced Read →
6 Notification System Intermediate Read →
7 Rate Limiter Beginner Read →

LLD / Machine Coding Problems Asked at Yahoo

Expect to produce working, readable code with clear class boundaries.

# Problem Difficulty Link
1 Multilevel Cache Intermediate Read →
2 Pub Sub System Intermediate Read →
3 Task Scheduler Advanced Read →

DSA Problems Asked at Yahoo

27 problems across 8 pattern groups. Each group is allocated in proportion to its real share of Yahoo’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 8 on the list.

# Problem Pattern Difficulty Link
1 Contains Duplicate Sorting + Hash Table Easy Solve →
2 Largest Palindrome Product Enumeration + Math Hard LeetCode →
3 Matrix Cells in Distance Order Implementation Easy LeetCode →
4 Two Sum Hash Table + Array Easy Solve →
5 Palindrome Number Math Easy Solve →
6 Shortest Path in Binary Matrix BFS Medium Solve →
7 Spiral Matrix Simulation + Matrix Medium Solve →
8 Subarray Sum Equals K Prefix Sum Medium Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 4 on the list.

# Problem Pattern Difficulty Link
9 Maximum Depth of Binary Tree Binary Tree + BFS Easy Solve →
10 Serialize and Deserialize Binary Tree Binary Tree + Design Hard Solve →
11 Flatten Nested List Iterator Iterator + Queue Medium Solve →
12 Validate Binary Search Tree BST + Binary Tree Medium Solve →

Backtracking

Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. All 4 on the list.

# Problem Pattern Difficulty Link
13 Non-decreasing Subsequences Backtracking + Bit Manipulation Medium LeetCode →
14 Combination Sum Backtracking Medium Solve →
15 Restore IP Addresses Backtracking Medium Solve →
16 Word Search Backtracking + DFS Medium Solve →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.

# Problem Pattern Difficulty Link
17 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard Solve →
18 Find Peak Element Binary Search Medium Solve →
19 Search in Rotated Sorted Array Binary Search Medium Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.

# Problem Pattern Difficulty Link
20 Word Break Brute-Force Search + Memoization Medium Solve →
21 Longest Common Prefix Trie Easy Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 2 on the list.

# Problem Pattern Difficulty Link
22 LRU Cache Doubly Linked List + Design Medium Solve →
23 Peeking Iterator Iterator + Design Medium LeetCode →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 2 on the list.

# Problem Pattern Difficulty Link
24 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
25 Meeting Rooms II Prefix Sum + Heap Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 2 on the list.

# Problem Pattern Difficulty Link
26 Decode String Stack Medium Solve →
27 Valid Parentheses Bracket Sequences + Stack Easy Solve →

Yahoo’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Arrays & Hashing Very High 8 (24%) Contains Duplicate, Largest Palindrome Product, Matrix Cells in Distance Order
2 Trees High 4 (12%) Maximum Depth of Binary Tree, Serialize and Deserialize Binary Tree, Flatten Nested List Iterator
3 Backtracking High 4 (12%) Non-decreasing Subsequences, Combination Sum, Restore IP Addresses
4 Binary Search Medium-High 3 (9%) Median of Two Sorted Arrays, Find Peak Element, Search in Rotated Sorted Array
5 Tries & String Search Medium-High 2 (6%) Word Break, Longest Common Prefix
6 Design (Coding) Medium-High 2 (6%) LRU Cache, Peeking Iterator
7 Heap / Priority Queue Medium 2 (6%) Top K Frequent Elements, Meeting Rooms II
8 Stack & Monotonic Stack Medium 2 (6%) Decode String, Valid Parentheses

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Arrays & Hashing, Trees, Backtracking covers the bulk of what Yahoo actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Behavioural Round

# Question
1 Walk me through a system you own end to end.
2 Tell me about a design you argued against.
3 Describe an incident you diagnosed. What was the root cause?
4 Tell me about a decision you later reversed.
5 How do you handle an ambiguous requirement from a product partner?
6 Describe mentoring a junior engineer.
7 Why Yahoo at this point in its history?

The last question is worth preparing honestly. Yahoo is a long way from its peak and interviewers know it, so an answer grounded in the specific products and traffic the team still runs lands better than enthusiasm about the brand.


12-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Arrays & Hashing (part 1) Contains Duplicate, Largest Palindrome Product, Matrix Cells in Distance Order
2 Arrays & Hashing (part 2) Two Sum, Palindrome Number, Shortest Path in Binary Matrix
3 Trees Maximum Depth of Binary Tree, Serialize and Deserialize Binary Tree, Flatten Nested List Iterator
4 Backtracking Non-decreasing Subsequences, Combination Sum, Restore IP Addresses
5 Binary Search Median of Two Sorted Arrays, Find Peak Element, Search in Rotated Sorted Array
6 Tries & String Search Word Break, Longest Common Prefix
7 Design (Coding) LRU Cache, Peeking Iterator
8 Heap / Priority Queue Top K Frequent Elements, Meeting Rooms II
9 Stack & Monotonic Stack Decode String, Valid Parentheses
10 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
11 Revision Redo the problems you failed or needed a hint on.
12 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Yahoo Interviews

  1. Prepare the hiring manager round as a real evaluation. It arrives before any coding and settles level and fit. Candidates who treat it as a scheduling call arrive at the technical screen already behind.
  2. Expect practical framings of standard problems. One reported question converts between feet, inches and centimetres, which is graph traversal in disguise. Recognising the underlying shape quickly is the skill.
  3. Budget real time for resume questions inside technical rounds. Reports describe project interrogation taking a meaningful share of each technical slot, not just the behavioural one.
  4. Practice on CoderPad if your screen is there. No local tooling, no completion. Write a couple of medium problems in a plain editor first.
  5. Match your preparation to the role. Frontend candidates report a frontend problem rather than generic data structures, so ask what the screen will cover rather than assuming.
  6. Prepare system design for the final loop. It is one of three back-to-back rounds, and for senior candidates it carries as much weight as the coding round.

Other Company Prep


Yahoo does not publish its interview loop. The stage shape above is corroborated by first-person senior and intern reports, while per-round specifics and the AI-assisted coding round rest on aggregator claims. Confirm with your recruiter.