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

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Databricks

31 questions

Easy 2Medium 22Hard 7

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

Easy
Amazon
527
Databricks
2
Medium
Amazon
1074
Databricks
22
Hard
Amazon
367
Databricks
7

Top Shared Topics

27 Shared Questions

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

ProblemDifficulty
Two SumEasy
Merge IntervalsMedium
Rotting OrangesMedium
House RobberMedium
Spiral MatrixMedium
String to Integer (atoi)Medium
Time Based Key-Value StoreMedium
Find All Anagrams in a StringMedium
Permutation in StringMedium
House Robber IIMedium
Design Tic-Tac-ToeMedium
Shortest Path in Binary MatrixMedium
Text JustificationHard
Shortest Path in a Grid with Obstacles EliminationHard
Number of Recent CallsEasy
Design Hit CounterMedium
Unique Paths IIIHard
Find the Length of the Longest Common PrefixMedium
Snapshot ArrayMedium
Closest Leaf in a Binary TreeMedium
Minimum Knight MovesMedium
Minimum Cost to Reach Destination in TimeHard
Step-By-Step Directions From a Binary Tree Node to AnotherMedium
Finding Pairs With a Certain SumMedium
Split Message Based on LimitHard
Longest Mountain in ArrayMedium
Longest Palindrome by Concatenating Two Letter WordsMedium

Unique to Amazon (1,941)

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

ProblemDifficulty
LRU CacheMedium
Trapping Rain WaterHard
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
Reorganize StringMedium
3SumMedium
Longest Palindromic SubstringMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard

Unique to Databricks (4)

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

ProblemDifficulty
IP to CIDRMedium
RLE IteratorMedium
Number of Flowers in Full BloomHard
Count Integers in IntervalsHard

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.

Explore More