Databricks vs Yahoo Interview Questions
Databricks lists 31 LeetCode interview questions while Yahoo lists 34. They share 3 problems — 10% of Databricks's bank and 9% of Yahoo's. Focus on the overlap first, then drill into 28 Databricks-only and 31 Yahoo-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 3 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Databricks and Yahoo.
Step 2 — Company-specific depth: Add Databricks-specific problems like Design Hit Counter, IP to CIDR, Design Tic-Tac-Toe and Yahoo-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Databricks skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
3 Shared Questions
High-priority problems to practice for both Databricks and Yahoo.
| Problem | Difficulty |
|---|---|
| Spiral Matrix | Medium |
| Shortest Path in Binary Matrix | Medium |
| Two Sum | Easy |
Unique to Databricks (28)
Problems in Databricks's list that do not appear at Yahoo.
| Problem | Difficulty |
|---|---|
| Design Hit Counter | Medium |
| IP to CIDR | Medium |
| Design Tic-Tac-Toe | Medium |
| House Robber | Medium |
| Find All Anagrams in a String | Medium |
| Step-By-Step Directions From a Binary Tree Node to Another | Medium |
| Time Based Key-Value Store | Medium |
| House Robber II | Medium |
| RLE Iterator | Medium |
| Longest Palindrome by Concatenating Two Letter Words | Medium |
| Closest Leaf in a Binary Tree | Medium |
| Shortest Path in a Grid with Obstacles Elimination | Hard |
Unique to Yahoo (31)
Problems in Yahoo's list that do not appear at Databricks.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Maximum Depth of Binary Tree | Easy |
| Reverse Linked List | Easy |
| Contains Duplicate | Easy |
| Serialize and Deserialize Binary Tree | Hard |
| Largest Palindrome Product | Hard |
| Median of Two Sorted Arrays | Hard |
| Roman to Integer | Easy |
| Word Break | Medium |
| Linked List Cycle | Easy |
| Matrix Cells in Distance Order | Easy |
| Non-decreasing Subsequences | Medium |
Frequently Asked Questions
How many LeetCode questions do Databricks and Yahoo share?
Databricks and Yahoo share 3 LeetCode interview questions. 28 problems appear only in Databricks's list and 31 appear only in Yahoo's list.
What topics overlap most between Databricks and Yahoo?
The most common shared topics between Databricks and Yahoo are Array (3 shared questions), Matrix (2 shared questions), Simulation (1 shared questions), Breadth-First Search (1 shared questions), Hash Table (1 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Databricks or Yahoo?
Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Databricks and Yahoo?
Start with the 3 shared problems since they cover what both companies ask most often. Then add 20 Databricks-specific and 20 Yahoo-specific questions to round out your prep.