Databricks vs Google Interview Questions

Databricks lists 31 LeetCode interview questions while Google lists 2,305. They share 29 problems — 94% of Databricks's bank and 1% of Google's. Focus on the overlap first, then drill into 2 Databricks-only and 2,276 Google-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
Google

2,305 questions

Easy 601Medium 1205Hard 499

Preparation Strategy

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

Step 2 — Company-specific depth: Add Databricks-specific problems like Closest Leaf in a Binary Tree, Split Message Based on Limit and Google-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
Google
601
Medium
Databricks
22
Google
1205
Hard
Databricks
7
Google
499

Top Shared Topics

29 Shared Questions

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

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
Shortest Path in a Grid with Obstacles EliminationHard
Number of Recent CallsEasy
Snapshot ArrayMedium
Text JustificationHard
Unique Paths IIIHard
Permutation in StringMedium
Number of Flowers in Full BloomHard
Longest Mountain in ArrayMedium
Spiral MatrixMedium
Shortest Path in Binary MatrixMedium
Minimum Cost to Reach Destination in TimeHard
Minimum Knight MovesMedium
Find the Length of the Longest Common PrefixMedium
Finding Pairs With a Certain SumMedium
String to Integer (atoi)Medium
Merge IntervalsMedium
Count Integers in IntervalsHard
Rotting OrangesMedium
Two SumEasy

Unique to Databricks (2)

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

ProblemDifficulty
Closest Leaf in a Binary TreeMedium
Split Message Based on LimitHard

Unique to Google (2,276)

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

ProblemDifficulty
Add Two NumbersMedium
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium

Frequently Asked Questions

How many LeetCode questions do Databricks and Google share?

Databricks and Google share 29 LeetCode interview questions. 2 problems appear only in Databricks's list and 2276 appear only in Google's list.

What topics overlap most between Databricks and Google?

The most common shared topics between Databricks and Google are Array (20 shared questions), Hash Table (10 shared questions), String (9 shared questions), Design (8 shared questions), Matrix (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Databricks or Google?

Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Google has 601 Easy, 1205 Medium, and 499 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.

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

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

Explore More