Databricks vs Visa Interview Questions

Databricks lists 31 LeetCode interview questions while Visa lists 146. They share 7 problems — 23% of Databricks's bank and 5% of Visa's. Focus on the overlap first, then drill into 24 Databricks-only and 139 Visa-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
Visa

146 questions

Easy 32Medium 92Hard 22

Preparation Strategy

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

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

Top Shared Topics

7 Shared Questions

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

ProblemDifficulty
House Robber IIMedium
Text JustificationHard
Spiral MatrixMedium
Find the Length of the Longest Common PrefixMedium
Merge IntervalsMedium
Rotting OrangesMedium
Two SumEasy

Unique to Databricks (24)

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

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
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

Unique to Visa (139)

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

ProblemDifficulty
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Split the ArrayEasy
3SumMedium
Longest Substring Without Repeating CharactersMedium
Minimum Operations to Write the Letter Y on a GridMedium
Best Time to Buy and Sell StockEasy
LRU CacheMedium
Block Placement QueriesHard
Create Target Array in the Given OrderEasy
Number of Black BlocksMedium
Group AnagramsMedium

Frequently Asked Questions

How many LeetCode questions do Databricks and Visa share?

Databricks and Visa share 7 LeetCode interview questions. 24 problems appear only in Databricks's list and 139 appear only in Visa's list.

What topics overlap most between Databricks and Visa?

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

Which company asks harder LeetCode questions: Databricks or Visa?

Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Visa has 32 Easy, 92 Medium, and 22 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.

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

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

Explore More