Databricks vs Uber Interview Questions

Databricks lists 31 LeetCode interview questions while Uber lists 362. They share 18 problems — 58% of Databricks's bank and 5% of Uber's. Focus on the overlap first, then drill into 13 Databricks-only and 344 Uber-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
Uber

362 questions

Easy 45Medium 215Hard 102

Preparation Strategy

Step 1 — Shared core: Solve the 18 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Databricks and Uber.

Step 2 — Company-specific depth: Add Databricks-specific problems like IP to CIDR, Design Tic-Tac-Toe, Step-By-Step Directions From a Binary Tree Node to Another and Uber-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Uber skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Databricks
2
Uber
45
Medium
Databricks
22
Uber
215
Hard
Databricks
7
Uber
102

Top Shared Topics

18 Shared Questions

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

ProblemDifficulty
Design Hit CounterMedium
House RobberMedium
Find All Anagrams in a StringMedium
Time Based Key-Value StoreMedium
House Robber IIMedium
Shortest Path in a Grid with Obstacles EliminationHard
Text JustificationHard
Split Message Based on LimitHard
Number of Flowers in Full BloomHard
Spiral MatrixMedium
Shortest Path in Binary MatrixMedium
Minimum Knight MovesMedium
Find the Length of the Longest Common PrefixMedium
String to Integer (atoi)Medium
Merge IntervalsMedium
Count Integers in IntervalsHard
Rotting OrangesMedium
Two SumEasy

Unique to Databricks (13)

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

ProblemDifficulty
IP to CIDRMedium
Design Tic-Tac-ToeMedium
Step-By-Step Directions From a Binary Tree Node to AnotherMedium
RLE IteratorMedium
Longest Palindrome by Concatenating Two Letter WordsMedium
Closest Leaf in a Binary TreeMedium
Number of Recent CallsEasy
Snapshot ArrayMedium
Unique Paths IIIHard
Permutation in StringMedium
Longest Mountain in ArrayMedium
Minimum Cost to Reach Destination in TimeHard

Unique to Uber (344)

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

ProblemDifficulty
Bus RoutesHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Alien DictionaryHard
Number of IslandsMedium
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Word SearchMedium
Insert Delete GetRandom O(1)Medium

Frequently Asked Questions

How many LeetCode questions do Databricks and Uber share?

Databricks and Uber share 18 LeetCode interview questions. 13 problems appear only in Databricks's list and 344 appear only in Uber's list.

What topics overlap most between Databricks and Uber?

The most common shared topics between Databricks and Uber are Array (12 shared questions), String (6 shared questions), Hash Table (5 shared questions), Breadth-First Search (4 shared questions), Matrix (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Databricks or Uber?

Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Uber has 45 Easy, 215 Medium, and 102 Hard questions. Uber has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Databricks and Uber?

Start with the 18 shared problems since they cover what both companies ask most often. Then add 13 Databricks-specific and 20 Uber-specific questions to round out your prep.

Explore More