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
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
Top Shared Topics
18 Shared Questions
High-priority problems to practice for both Databricks and Uber.
| Problem | Difficulty |
|---|---|
| Design Hit Counter | Medium |
| House Robber | Medium |
| Find All Anagrams in a String | Medium |
| Time Based Key-Value Store | Medium |
| House Robber II | Medium |
| Shortest Path in a Grid with Obstacles Elimination | Hard |
| Text Justification | Hard |
| Split Message Based on Limit | Hard |
| Number of Flowers in Full Bloom | Hard |
| Spiral Matrix | Medium |
| Shortest Path in Binary Matrix | Medium |
| Minimum Knight Moves | Medium |
| Find the Length of the Longest Common Prefix | Medium |
| String to Integer (atoi) | Medium |
| Merge Intervals | Medium |
| Count Integers in Intervals | Hard |
| Rotting Oranges | Medium |
| Two Sum | Easy |
Unique to Databricks (13)
Problems in Databricks's list that do not appear at Uber.
| Problem | Difficulty |
|---|---|
| IP to CIDR | Medium |
| Design Tic-Tac-Toe | Medium |
| Step-By-Step Directions From a Binary Tree Node to Another | Medium |
| RLE Iterator | Medium |
| Longest Palindrome by Concatenating Two Letter Words | Medium |
| Closest Leaf in a Binary Tree | Medium |
| Number of Recent Calls | Easy |
| Snapshot Array | Medium |
| Unique Paths III | Hard |
| Permutation in String | Medium |
| Longest Mountain in Array | Medium |
| Minimum Cost to Reach Destination in Time | Hard |
Unique to Uber (344)
Problems in Uber's list that do not appear at Databricks.
| Problem | Difficulty |
|---|---|
| Bus Routes | Hard |
| Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Medium |
| Alien Dictionary | Hard |
| Number of Islands | Medium |
| Number of Islands II | Hard |
| Squares of a Sorted Array | Easy |
| Construct Quad Tree | Medium |
| Kth Smallest Element in a BST | Medium |
| First Unique Number | Medium |
| Find the Closest Palindrome | Hard |
| Word Search | Medium |
| 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.