Amazon vs Databricks Interview Questions
Amazon lists 1,968 LeetCode interview questions while Databricks lists 31. They share 27 problems — 1% of Amazon's bank and 87% of Databricks's. Focus on the overlap first, then drill into 1,941 Amazon-only and 4 Databricks-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 27 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Amazon and Databricks.
Step 2 — Company-specific depth: Add Amazon-specific problems like LRU Cache, Trapping Rain Water, Number of Islands and Databricks-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
27 Shared Questions
High-priority problems to practice for both Amazon and Databricks.
Unique to Amazon (1,941)
Problems in Amazon's list that do not appear at Databricks.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Trapping Rain Water | Hard |
| Number of Islands | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Group Anagrams | Medium |
| Add Two Numbers | Medium |
| Reorganize String | Medium |
| 3Sum | Medium |
| Longest Palindromic Substring | Medium |
| Container With Most Water | Medium |
| Median of Two Sorted Arrays | Hard |
Unique to Databricks (4)
Problems in Databricks's list that do not appear at Amazon.
| Problem | Difficulty |
|---|---|
| IP to CIDR | Medium |
| RLE Iterator | Medium |
| Number of Flowers in Full Bloom | Hard |
| Count Integers in Intervals | Hard |
Frequently Asked Questions
How many LeetCode questions do Amazon and Databricks share?
Amazon and Databricks share 27 LeetCode interview questions. 1941 problems appear only in Amazon's list and 4 appear only in Databricks's list.
What topics overlap most between Amazon and Databricks?
The most common shared topics between Amazon and Databricks are Array (18 shared questions), Hash Table (9 shared questions), String (9 shared questions), Matrix (6 shared questions), Design (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Amazon or Databricks?
Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Amazon and Databricks?
Start with the 27 shared problems since they cover what both companies ask most often. Then add 20 Amazon-specific and 4 Databricks-specific questions to round out your prep.