Databricks vs Walmart Labs Interview Questions
Databricks lists 31 LeetCode interview questions while Walmart Labs lists 144. They share 8 problems — 26% of Databricks's bank and 6% of Walmart Labs's. Focus on the overlap first, then drill into 23 Databricks-only and 136 Walmart Labs-only questions.
Overview
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 Walmart Labs.
Step 2 — Company-specific depth: Add Databricks-specific problems like IP to CIDR, Design Tic-Tac-Toe, Step-By-Step Directions From a Binary Tree Node to Another and Walmart Labs-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
8 Shared Questions
High-priority problems to practice for both Databricks and Walmart Labs.
| Problem | Difficulty |
|---|---|
| Design Hit Counter | Medium |
| House Robber | Medium |
| Find All Anagrams in a String | Medium |
| Permutation in String | Medium |
| Spiral Matrix | Medium |
| Merge Intervals | Medium |
| Rotting Oranges | Medium |
| Two Sum | Easy |
Unique to Databricks (23)
Problems in Databricks's list that do not appear at Walmart Labs.
| Problem | Difficulty |
|---|---|
| IP to CIDR | Medium |
| Design Tic-Tac-Toe | 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 |
| Snapshot Array | Medium |
| Text Justification | Hard |
Unique to Walmart Labs (136)
Problems in Walmart Labs's list that do not appear at Databricks.
Frequently Asked Questions
How many LeetCode questions do Databricks and Walmart Labs share?
Databricks and Walmart Labs share 8 LeetCode interview questions. 23 problems appear only in Databricks's list and 136 appear only in Walmart Labs's list.
What topics overlap most between Databricks and Walmart Labs?
The most common shared topics between Databricks and Walmart Labs are Array (6 shared questions), Hash Table (3 shared questions), String (2 shared questions), Sliding Window (2 shared questions), Matrix (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Databricks or Walmart Labs?
Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Walmart Labs has 22 Easy, 96 Medium, and 26 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Databricks and Walmart Labs?
Start with the 8 shared problems since they cover what both companies ask most often. Then add 20 Databricks-specific and 20 Walmart Labs-specific questions to round out your prep.