Company
Databricks interview questions
122 practice questions in the style of Databricks's interviews, covering Software Engineering Fundamentals, Behavioral & Leadership, Coding & Algorithms, System Design, ML System Design, Statistics & Math, Machine Learning, Data Manipulation (SQL/Python).
2 easy84 medium36 hard
Databricks interview questions by the numbers
Last updated
Katkat has 122 Databricks interview questions. The largest topics are Coding & Algorithms (42%), System Design (28%) and Software Engineering Fundamentals (11%). By difficulty: 2% easy, 69% medium and 30% hard. The most common round is Onsite (57%). Frequent concepts include System Design, Distributed Systems, Concurrency and Data Structures.
Topics
- Coding & Algorithms42% · 51
- System Design28% · 34
- Behavioral & Leadership8% · 10
- ML System Design4% · 5
- Machine Learning3% · 4
- Statistics & Math2% · 3
Difficulty
- Easy2% · 2
- Medium69% · 84
- Hard30% · 36
Interview rounds
- Onsite57% · 69
- Technical Screen36% · 44
- HR Screen7% · 8
- Online Assessment1% · 1
Roles
- Software Engineer83% · 101
- Machine Learning Engineer7% · 9
- Data Scientist5% · 6
- Backend Engineer2% · 3
- Frontend Engineer2% · 2
Frequent concepts
- System Design18% · 22
- Distributed Systems11% · 13
- Concurrency9% · 11
- Data Structures9% · 11
- Algorithms6% · 7
- Scalability6% · 7
Most mentioned in interview experiences
- 1.Find First Anagram Occurrence2 reports
- 2.Implement a sliding-window hit counter2 reports
- 3.Share background, conflicts, and proud project details2 reports
- 4.Add Sliding-Window Get and Put Activity Metrics to a Key-Value Store1 report
- 5.Answer behavioral screen questions1 report
- 6.Compute last-5-minute QPS in memory1 report
- 7.Design a Bookstore Pricing API with Batch Fetches1 report
- 8.Design a generic key-value store1 report
- 9.Design a key-value store1 report
- 10.Design a Key-Value Store with Hit Counting1 report
Counted from 16 candidate interview experiences on Katkat. How we collect and count
Showing 61–90 of 122 results
Design a machine learning system that detects harmful content in prompts sent to, and responses produced by, a large language model. Tests policy-driven framing, labeling and adversarial data, layered classifiers under latency limits, per-category evaluation, streaming checks and monitoring.
DatabricksMachine Learning EngineerML System DesignOnsiteImplement an efficient win-detection function that checks whether a newly placed token forms at least k consecutive matching tokens along any linear axis on a rectangular grid.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to efficiently manage and query hierarchical IP address ranges, requiring knowledge of bitwise operations and data structures for range matching.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenDiagnose data quality and pipeline performance issues evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
DatabricksData EngineerBehavioral & LeadershipTechnical ScreenThis interview module evaluates engineering motivation, individual technical ownership, constructive receipt of critical feedback, and principled conflict resolution during technical disagreements.
DatabricksSoftware EngineerBehavioral & LeadershipOnsiteFind the starting index of the first substring of a text that is a rearrangement of a given pattern, or report that none exists. Tests fixed-length sliding windows, character-frequency bookkeeping and linear-time scanning of long strings with an early exit.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to manipulate binary representations of IP addresses and perform efficient prefix matching using CIDR notation, requiring careful bitwise arithmetic and efficient lookup structures.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question tests the candidate's mastery of the Gauss-Markov theorem and the consequences of violating Ordinary Least Squares (OLS) assumptions in real-world data science workflows.
DatabricksData ScientistStatistics & MathTechnical ScreenThis interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Explain Linear Regression Feature Transformation Equivalence states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
DatabricksData ScientistMachine LearningOnline AssessmentPrepare a coherent recruiter-screen narrative for a senior forward-deployed engineering role, covering motivation, evidence of fit, and verified company understanding. Use authentic examples of technical depth, delivery through ambiguity, customer communication, measured outcomes, honest gaps, uncertainty, and questions that test mutual fit.
DatabricksSoftware EngineerBehavioral & LeadershipHR ScreenThis question tests your understanding of OS-level file I/O operations, the risks of concurrent writes to the same file descriptor, and how to implement robust thread-safe mechanisms to maintain file integrity.
DatabricksSoftware EngineerSoftware Engineering FundamentalsOnsiteGiven a city grid with a start, a destination and cells usable by only one of four commute modes, choose the mode whose trip takes the least total time, breaking ties by lower total cost. Tests shortest-path search on grids, per-mode reachability and precise tie-breaking.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates proficiency in string processing, character-frequency analysis, and efficient substring search techniques, measuring competency in algorithmic reasoning and implementation for pattern matching.
DatabricksBackend EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to map nodes in a recursively defined tree structure without materializing the tree, requiring an understanding of Fibonacci sequences and path-finding algorithms in binary trees.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question tests the ability to implement a pairwise similarity comparison between rows using a custom distance metric while handling missing data and ranking results.
DatabricksData ScientistData Manipulation (SQL/Python)Technical ScreenThis problem tests your ability to efficiently detect pattern matches within a stream or string using a sliding window technique and frequency mapping.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates a candidate's understanding of IPv4 and CIDR notation, ability to perform prefix-based address containment checks using bitwise reasoning, and competence in parsing and efficient lookup across many ranges.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to aggregate per-customer revenue from event streams and perform selection on aggregated totals, testing knowledge of data aggregation, selection algorithms, and efficient use of data structures.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to navigate implicit tree structures defined by recurrence relations and your proficiency in pathfinding within large graphs without materializing them.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of recursive binary tree structures, preorder indexing, Fibonacci-like size relations, and arithmetic-based navigation for computing paths in an implicitly defined tree.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding and implementation of similarity/distance metrics (e.g., MSE), data preprocessing issues such as handling NULLs and feature scaling, and the ability to perform efficient cross-dataset comparisons and top-k ranking.
DatabricksData ScientistData Manipulation (SQL/Python)Technical ScreenImplement an ordered first-match IPv4 firewall that returns ALLOW or DENY for an address, then extend it so the target can be a whole CIDR block that is allowed only if every address inside it is. Tests bit-level prefix matching and reasoning about address ranges at scale.
DatabricksSoftware EngineerCoding & AlgorithmsOnsitePractice answers for a short recruiter phone screen for a Forward Deployed Engineer role at Databricks. It covers preferred location, understanding of the role, an experience walkthrough, client-facing work, data engineering tools built, a project delivered on Databricks, and programming languages, testing concise and honest communication.
DatabricksSoftware EngineerBehavioral & LeadershipHR ScreenImplement tic-tac-toe on an m by n board where a player wins with k consecutive marks in a row, column or either diagonal, returning the winner after each move. Tests incremental win detection that avoids rescanning the board, plus careful handling of edges and both diagonal directions.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of concurrency, race conditions, synchronization mechanisms, and performance trade-offs in designing thread-safe in-memory data structures like key-value stores and hit counters.
DatabricksSoftware EngineerSystem DesignTechnical ScreenThis interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Implement CIDR firewall matcher states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
DatabricksSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven a SQL query represented as a tree of scan, filter, project and join nodes, write runnable rewrites that prune unused columns from every scan and push filter conditions down toward the tables. Tests query-optimizer fundamentals, recursive tree rewriting and preserving query results.
DatabricksSoftware EngineerSoftware Engineering FundamentalsOnsiteDesign and implement a generalized m x n Tic-Tac-Toe game supporting an arbitrary winning streak length k. Tests grid simulation, efficient line checking around the latest move, and handling boundary conditions.
DatabricksSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your understanding of linear regression by requiring the implementation of a gradient descent optimizer from scratch to minimize the Mean Squared Error loss.
DatabricksMachine Learning EngineerMachine LearningOnsiteThis question tests the ability to implement batch gradient descent for simple linear regression from scratch, requiring the derivation of gradients for weights and bias, and understanding how to optimize convergence.
DatabricksMachine Learning EngineerMachine LearningOnsite
Databricks interview experiences
All 17 →- Downleveled from L6 to L5, Same Question Twice, RejectedDatabricks · Software Engineer · Senior+ · Onsite · Sep 2026Rejected
I applied for L6 with 9 years of experience, and got a referral. The HR screen questions made me a little uncomfortable. Starting from the first company after I graduated all the way to my current one, they asked about every single one why I left and whether I got promoted. But the HR seemed nice, and scheduled a phone screen for a week later. Phone screen: the book seller question. Honestly I di…
- Game Logic, Referral Credits, and Chat DesignDatabricks · Software Engineer · Onsite · Sep 2026
The report describes two coding sessions and a chat-system design discussion in a Databricks onsite. One coding exercise involved a turn-based board game, including player switching, board output, and correctly ending wins or draws. Its follow-up introduced automated play. The other exercise tracked account credits associated with referrals, queried accounts meeting a threshold, and extended cred…
- System Design Screen on the Bookstore Question, Passed After a WeekDatabricks · Software Engineer · Technical Screen · Aug 2026In progress
The interviewer seemed like a very senior person, I felt his level was really high. I got the hugely popular Bookstore question. He asked a lot of questions about failure modes. For example: if the request inserts into the DB but then SQS fails, what should happen? How can we prevent that? I said I would use a transaction outbox. He said he had never heard of that pattern, we spent a while with m…
- Cleared the Full Onsite, Then Rejected After a Messy Reference-Check SagaDatabricks · Software Engineer · Onsite · Jul 2026Rejected
Phone screen: system design — design a music playlist. The recruiter told me it would be a full-stack SD round with front-end code and everything, so I spent a long time brushing up on React, but it turned out to just be a normal SD round with no front-end content at all. My answer was pretty average. The interviewer seemed nice but looked exhausted the whole time — not sure if he was just overwo…
- Phone Screen Plus Five Onsite Rounds, Then an OfferDatabricks · Software Engineer · Senior+ · Onsite · Jul 2026Offer
End of June: Phone Screen — Coding: KV Store + Hit Counter Implement a KV Store that also supports tracking averageGet and averagePut. The main focus was on how to maintain a sliding window, and the follow-up extended it to stats over the past 1 hour, 1 day, and 1 week. Early July: Onsite 1 — Coding: File Encryption Tree Optimization Given a file system tree made of DirectoryNode and FileNode, wh…
More companies
- Meta666
- Amazon653
- Google486
- OpenAI342
- Capital One268
- Microsoft252
- DoorDash241
- Anthropic225
- Uber217
- Apple177
- TikTok176
- Pinterest161
- ByteDance160
- LinkedIn154
- Stripe139
- Snowflake130
- Airbnb112
- Rippling106
- Oracle104
- Coinbase99
- Netflix97
- NVIDIA95
- Snapchat94
- Citadel90
- Waymo90
- Instacart87
- Roblox84
- Salesforce77
- Optiver76
- Shopify63
- Robinhood60
- Atlassian55
- Hudson River Trading55
- Two Sigma55
- J.P. Morgan53
- PayPal53
- xAI53
- Lyft52
- Tesla52
- Other51
