Databricks vs Infosys Interview Questions

Databricks lists 31 LeetCode interview questions while Infosys lists 105. They share 5 problems — 16% of Databricks's bank and 5% of Infosys's. Focus on the overlap first, then drill into 26 Databricks-only and 100 Infosys-only questions.

Overview

Databricks

31 questions

Easy 2Medium 22Hard 7
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

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

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

Top Shared Topics

5 Shared Questions

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

ProblemDifficulty
House RobberMedium
Spiral MatrixMedium
String to Integer (atoi)Medium
Merge IntervalsMedium
Two SumEasy

Unique to Databricks (26)

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

ProblemDifficulty
Design Hit CounterMedium
IP to CIDRMedium
Design Tic-Tac-ToeMedium
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

Unique to Infosys (100)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Longest Substring Without Repeating CharactersMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Find the Number of Subsequences With Equal GCDHard

Frequently Asked Questions

How many LeetCode questions do Databricks and Infosys share?

Databricks and Infosys share 5 LeetCode interview questions. 26 problems appear only in Databricks's list and 100 appear only in Infosys's list.

What topics overlap most between Databricks and Infosys?

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

Which company asks harder LeetCode questions: Databricks or Infosys?

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

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

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

Explore More