Databricks vs Goldman Sachs Interview Questions
Databricks lists 31 LeetCode interview questions while Goldman Sachs lists 261. They share 10 problems — 32% of Databricks's bank and 4% of Goldman Sachs's. Focus on the overlap first, then drill into 21 Databricks-only and 251 Goldman Sachs-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 10 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Databricks and Goldman Sachs.
Step 2 — Company-specific depth: Add Databricks-specific problems like Design Hit Counter, IP to CIDR, Design Tic-Tac-Toe and Goldman Sachs-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
10 Shared Questions
High-priority problems to practice for both Databricks and Goldman Sachs.
| Problem | Difficulty |
|---|---|
| House Robber | Medium |
| Snapshot Array | Medium |
| Text Justification | Hard |
| Unique Paths III | Hard |
| Spiral Matrix | Medium |
| Shortest Path in Binary Matrix | Medium |
| String to Integer (atoi) | Medium |
| Merge Intervals | Medium |
| Rotting Oranges | Medium |
| Two Sum | Easy |
Unique to Databricks (21)
Problems in Databricks's list that do not appear at Goldman Sachs.
| 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 Goldman Sachs (251)
Problems in Goldman Sachs's list that do not appear at Databricks.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| First Unique Character in a String | Easy |
| Fraction to Recurring Decimal | Medium |
| High Five | Easy |
| Minimum Path Sum | Medium |
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Longest Substring Without Repeating Characters | Medium |
| String Compression | Medium |
| Find the Winner of the Circular Game | Medium |
| Robot Bounded In Circle | Medium |
Frequently Asked Questions
How many LeetCode questions do Databricks and Goldman Sachs share?
Databricks and Goldman Sachs share 10 LeetCode interview questions. 21 problems appear only in Databricks's list and 251 appear only in Goldman Sachs's list.
What topics overlap most between Databricks and Goldman Sachs?
The most common shared topics between Databricks and Goldman Sachs are Array (9 shared questions), Matrix (4 shared questions), Hash Table (2 shared questions), String (2 shared questions), Simulation (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Databricks or Goldman Sachs?
Databricks has 2 Easy, 22 Medium, and 7 Hard questions. Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Databricks has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Databricks and Goldman Sachs?
Start with the 10 shared problems since they cover what both companies ask most often. Then add 20 Databricks-specific and 20 Goldman Sachs-specific questions to round out your prep.