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

Databricks

31 questions

Easy 2Medium 22Hard 7
Yahoo

34 questions

Easy 11Medium 20Hard 3

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

Easy
Databricks
2
Yahoo
11
Medium
Databricks
22
Yahoo
20
Hard
Databricks
7
Yahoo
3

Top Shared Topics

3 Shared Questions

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

ProblemDifficulty
Spiral MatrixMedium
Shortest Path in Binary MatrixMedium
Two SumEasy

Unique to Databricks (28)

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

ProblemDifficulty
Design Hit CounterMedium
IP to CIDRMedium
Design Tic-Tac-ToeMedium
House RobberMedium
Find All Anagrams in a StringMedium
Step-By-Step Directions From a Binary Tree Node to AnotherMedium
Time Based Key-Value StoreMedium
House Robber IIMedium
RLE IteratorMedium
Longest Palindrome by Concatenating Two Letter WordsMedium
Closest Leaf in a Binary TreeMedium
Shortest Path in a Grid with Obstacles EliminationHard

Unique to Yahoo (31)

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

ProblemDifficulty
LRU CacheMedium
Maximum Depth of Binary TreeEasy
Reverse Linked ListEasy
Contains DuplicateEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Median of Two Sorted ArraysHard
Roman to IntegerEasy
Word BreakMedium
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium

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.

Explore More