Yahoo

Yahoo Software Engineer Interview Questions

7+ questions from real Yahoo Software Engineer interviews, reported by candidates.

7
Questions
6
Round Types
4
Topic Areas
2025
Year Range

Round Types

Take Home 1 System Design 1 Recruiter 1 Phone Screen 1 Phone 1 Onsite 1

Top Topics

Questions

Yahoo Interview | Set 3

Phone Screen 2025

I would like to express my gratitude towards the GeeksforGeeks team, whose help saw me through to Amazon's interview rounds and getting placed at Yahoo. Number of Rounds: ...

/* We need to write a query api to a mail storage system. For practical reasons, we want to define some method that takes some sort of query structure (input) that supports our use cases listed below,

This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other as...

Job Profile : System Engineer (on Campus)Round-1:Pen and paper test was conducted.There were about 30 MCQ's. 4 aptitude and 26 technical questions.Technical questions cons...

## Round 1 - Coding **Format:** Phone screen followed by a HackerRank OA (90 min, 2 coding problems). **Q1:** String manipulation — parse a serialized config string of `key=value` pairs separated by `&`; return a dictionary. Handle duplicate keys by keeping the last value. **Q2:** Array problem — given a sorted array and a target sum, find all unique pairs that sum to the target. Return pairs sorted by first element. ## Round 2 - Behavioral - Walk me through a project where you had to learn something new quickly. - Describe a conflict with a teammate. How did you resolve it? - Why Yahoo? What excites you about this team's product area? ## Follow-ups (technical) 1. In Q1, if values can themselves contain `=`, how do you parse safely? 2. In Q2, what is your time and space complexity? Can you do it in O(1) extra space? 3. How would Q2 change if the array were unsorted? 4. How would you test your config parser against malformed input? **Tips:** OA difficulty was easy-medium. Behavioral round was conversational. Turnaround from OA to decision was approximately 2 weeks.

## Round 1 - Coding **Frontend component:** Build a filterable list component in React. Given an array of items `[{id, name, category}]`, render a dropdown to filter by category and a text input to search by name. Results update live. ```jsx function FilterableList({ items }) { // items: [{id: number, name: string, category: string}] // render: category dropdown + name search + filtered list } ``` **Example:** ``` Items: [{id:1,name:"Dog",category:"Animal"},{id:2,name:"Car",category:"Vehicle"},...] User selects category="Animal", types "do" -> shows only Dog. ``` ## Round 2 - System Design Design a URL shortener (like bit.ly). - API design: POST /shorten, GET /:code - Storage schema and choice of DB - Handling 10K writes/sec and 100K reads/sec - Expiry and analytics ## Follow-ups 1. In the React component, how do you avoid excessive re-renders on every keystroke? 2. How would you handle 100M stored URLs — does your schema still work? 3. What happens if two users shorten the same long URL simultaneously? 4. How would you add click-count tracking without slowing down redirects?

## Round 1 - Coding **Format:** 45-minute phone screen with a shared code editor. Two problems, difficulty easy to medium. **Q1:** Given a string, find the length of the longest substring without repeating characters. ```python def length_of_longest_substring(s: str) -> int: pass ``` **Example:** ``` Input: "abcabcbb" Output: 3 ("abc") Input: "bbbbb" Output: 1 ("b") ``` **Q2:** Given a binary tree, return the level-order traversal as a list of lists. ```python def level_order(root: TreeNode) -> list[list[int]]: pass ``` **Example:** ``` Input: root = [3,9,20,null,null,15,7] Output: [[3],[9,20],[15,7]] ``` ## Follow-ups 1. For Q1: what is the time complexity of your sliding window approach? Can you reduce space usage? 2. For Q1: how would you handle Unicode characters vs. ASCII-only? 3. For Q2: how would you do a right-side view (only rightmost node per level)? 4. For Q2: how would you do a zigzag (left-to-right, then right-to-left alternating) traversal?

What Yahoo Looks for in Software Engineer Interviews

Yahoo Software Engineer interviews are calibrated against the level and scope expected of the role. Across 7+ verified candidate reports on LeakCode, the consistent signals interviewers look for: clear problem decomposition before coding, explicit complexity reasoning, structured handling of edge cases, and the ability to articulate trade-offs between two reasonable approaches.

The discriminator between candidates who advance and candidates who do not is rarely the final correctness of the solution. It is the path to the solution: did you ask clarifying questions, did you state your approach before coding, did you handle edge cases without prompting, and did you communicate your reasoning throughout. Reports tagged "no hire" frequently cite a working solution with poor communication; reports tagged "strong hire" cite clear thinking even when the final solution was incomplete.

How To Use This Question Set

Real interview reports are a calibration tool, not a memorization target. Companies update their question pools every 2-4 months; memorizing exact problems risks misleading you when the interviewer uses a variant. The high-leverage use: identify the patterns that appear repeatedly in Yahoo Software Engineer reports, practice those patterns on similar (not identical) problems, and use the reports to understand the interviewer's typical follow-up depth.

Filter the questions below by round type, difficulty, and recency. Focus first on reports from the past 6-12 months; older reports may reference questions that have since rotated out of Yahoo's pool. Reports tagged with quantified difficulty (e.g., "medium-hard") are higher-signal than reports without difficulty tags.

Round-by-Round Expectations

Yahoo Software Engineer loops typically span 4-6 rounds across phone screens and on-site or virtual on-site interviews. The structure varies by company: some run 1 recruiter screen + 1 technical phone + 3-4 on-site rounds; others run 1 recruiter screen + 1 OA + 4-5 on-site rounds. The recruiter screen is logistics and culture-light; the technical phone screen is medium-difficulty coding; the on-site loop covers coding, system design (at L4+ levels), and behavioral rounds.

Each round is designed to surface a specific signal. Coding rounds: correctness, code quality, complexity reasoning, communication. System design rounds: requirements clarification, design judgment, operational thinking. Behavioral rounds: ownership scope, leadership, ambiguity tolerance, conflict navigation. Strong candidates explicitly hit each signal dimension out loud during the round; weak candidates focus only on solving the prompt.

Common Interview Mistakes At This Combination

Reports tagged "no hire" at Yahoo Software Engineer commonly cite: jumping into code without clarifying requirements, coding silently for 10+ minutes without verbalizing approach, missing edge cases (empty input, single element, very large input, overflow), and producing a working solution that the candidate cannot explain or refactor when probed. Strong candidates avoid these patterns by following a consistent template: clarify, verbalize approach, code with narration, test with examples.

Behavioral and design rounds have their own failure modes. Behavioral: stories that use "we" instead of "I" diluting individual signal, stories with no quantified outcome, defensiveness when probed about failure. Design: not asking clarifying questions, not stating requirements out loud, designing for a single server when the prompt clearly implies scale, ignoring operational concerns (deployment, monitoring, rollback). These show up in roughly half of Yahoo Software Engineer interview retrospectives on LeakCode.

See All 7 Yahoo Software Engineer Questions

Full question text, answer context, and frequency data for subscribers.

Get Access