Databricks vs Microsoft Interview Questions

Databricks lists 31 LeetCode interview questions while Microsoft lists 192. They share 8 problems — 26% of Databricks's bank and 4% of Microsoft's. Focus on the overlap first, then drill into 23 Databricks-only and 184 Microsoft-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

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

Step 2 — Company-specific depth: Add Databricks-specific problems like Design Hit Counter, IP to CIDR, Find All Anagrams in a String and Microsoft-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
Microsoft
55
Medium
Databricks
22
Microsoft
109
Hard
Databricks
7
Microsoft
28

Top Shared Topics

8 Shared Questions

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

ProblemDifficulty
Design Tic-Tac-ToeMedium
House RobberMedium
Text JustificationHard
Spiral MatrixMedium
String to Integer (atoi)Medium
Merge IntervalsMedium
Rotting OrangesMedium
Two SumEasy

Unique to Databricks (23)

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

ProblemDifficulty
Design Hit CounterMedium
IP to CIDRMedium
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
Closest Leaf in a Binary TreeMedium
Shortest Path in a Grid with Obstacles EliminationHard
Number of Recent CallsEasy
Snapshot ArrayMedium

Unique to Microsoft (184)

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

ProblemDifficulty
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Add Two NumbersMedium
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Single Element in a Sorted ArrayMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Search in Rotated Sorted ArrayMedium

Frequently Asked Questions

How many LeetCode questions do Databricks and Microsoft share?

Databricks and Microsoft share 8 LeetCode interview questions. 23 problems appear only in Databricks's list and 184 appear only in Microsoft's list.

What topics overlap most between Databricks and Microsoft?

The most common shared topics between Databricks and Microsoft are Array (7 shared questions), Matrix (3 shared questions), Simulation (3 shared questions), Hash Table (2 shared questions), String (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Databricks or Microsoft?

Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.

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

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

Explore More