Databricks vs IBM Interview Questions

Databricks lists 31 LeetCode interview questions while IBM lists 115. They share 4 problems — 13% of Databricks's bank and 3% of IBM's. Focus on the overlap first, then drill into 27 Databricks-only and 111 IBM-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
IBM

115 questions

Easy 33Medium 73Hard 9

Preparation Strategy

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

Step 2 — Company-specific depth: Add Databricks-specific problems like Design Hit Counter, IP to CIDR, Design Tic-Tac-Toe and IBM-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
IBM
33
Medium
Databricks
22
IBM
73
Hard
Databricks
7
IBM
9

Top Shared Topics

4 Shared Questions

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

ProblemDifficulty
Longest Mountain in ArrayMedium
Spiral MatrixMedium
Merge IntervalsMedium
Two SumEasy

Unique to Databricks (27)

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

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
Closest Leaf in a Binary TreeMedium
Shortest Path in a Grid with Obstacles EliminationHard

Unique to IBM (111)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
3SumMedium
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Best Time to Buy and Sell StockEasy
Count Ways to Group Overlapping RangesMedium
Meeting Rooms IIMedium
Rotate ImageMedium

Frequently Asked Questions

How many LeetCode questions do Databricks and IBM share?

Databricks and IBM share 4 LeetCode interview questions. 27 problems appear only in Databricks's list and 111 appear only in IBM's list.

What topics overlap most between Databricks and IBM?

The most common shared topics between Databricks and IBM are Array (4 shared questions), Two Pointers (1 shared questions), Dynamic Programming (1 shared questions), Enumeration (1 shared questions), Matrix (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Databricks or IBM?

Databricks has 2 Easy, 22 Medium, and 7 Hard questions. IBM has 33 Easy, 73 Medium, and 9 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.

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

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

Explore More