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
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
Top Shared Topics
5 Shared Questions
High-priority problems to practice for both Databricks and Infosys.
| Problem | Difficulty |
|---|---|
| House Robber | Medium |
| Spiral Matrix | Medium |
| String to Integer (atoi) | Medium |
| Merge Intervals | Medium |
| Two Sum | Easy |
Unique to Databricks (26)
Problems in Databricks's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Design Hit Counter | Medium |
| IP to CIDR | Medium |
| Design Tic-Tac-Toe | Medium |
| Find All Anagrams in a String | Medium |
| Step-By-Step Directions From a Binary Tree Node to Another | Medium |
| Time Based Key-Value Store | Medium |
| House Robber II | Medium |
| RLE Iterator | Medium |
| Longest Palindrome by Concatenating Two Letter Words | Medium |
| Closest Leaf in a Binary Tree | Medium |
| Shortest Path in a Grid with Obstacles Elimination | Hard |
| Number of Recent Calls | Easy |
Unique to Infosys (100)
Problems in Infosys's list that do not appear at Databricks.
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.