Databricks interview questions
122 questions · 3 free · most-asked first · updated December 2026
122 practice questions for Databricks interviews, ordered by how often candidates report them. They cover coding (51), system design (34), SWE fundamentals (13), behavioral (10). 3 are free to read and run; Pro unlocks all of them with a step-by-step walkthrough, a reference solution and tests you can run in the browser.
About Databricks interviews: rounds, topics and FAQ
- By round
- Onsite (69), Technical Screen (44), HR Screen (8), Online Assessment (1)
- By difficulty
- Medium (84), Hard (36), Easy (2)
- Roles
- Software Engineer (101), Machine Learning Engineer (9), Data Scientist (6), Backend Engineer (3)
- Common topics
- concurrency, distributed systems, scalability, simulation, optimization, sliding window, bit manipulation, caching
Databricks interview FAQ
What does the Databricks coding interview cover?
51 questions here are coding and algorithms problems; the most common topics are bit manipulation, matrix, simulation, arrays, game theory, networking. Most are medium difficulty, with tests you can run in the browser.
Does Databricks ask system design questions?
Yes: 39 questions here are system or ML design problems, mostly from the onsite round. Each has a worked answer covering requirements, design and trade-offs.
Which Databricks interview rounds are these questions from?
Candidates report them from these rounds: Onsite (69), Technical Screen (44), HR Screen (8), Online Assessment (1).
Are these the exact questions Databricks asks?
No. They are practice questions written by PassOnsite around topics candidates report from Databricks interviews. PassOnsite is not affiliated with or endorsed by Databricks.
How many Databricks questions are free?
3 of the 122, the most-asked ones. Pro ($9.99/month or $79/year) unlocks all of them, plus every other company's questions.
Updated December 2026.
Coding & Algorithms (51)
- k-Streak Win Detection on a Rectangular Grid Medium
- First Anagram Substring Index Medium
- Snapshot-Isolated Dynamic Set Hard Pro
- Bounded-Memory Rolling Hit Counter Medium Pro
- Trailing Five-Minute In-Memory QPS Tracker Medium Pro
- Bounded-Ply Forced Win Search on Generalized Tic-Tac-Toe Medium Pro
- Per-Key In-Memory QPS Counter Medium Pro
- Generalized Board Game and Range QPS Tracker Medium Pro
- Check Consecutive-Line Win From Latest Grid Move Medium Pro
- First Substring Permuting a Target Pattern Medium Pro
- Step Directions in a Preorder Fibonacci Tree Hard Pro
- Shortest Label Path in a Fibonacci Tree Hard Pro
- Ordered IPv4 CIDR Rule Evaluation for Hosts and Subnets Medium Pro
- Unordered Set with Snapshot Iterators Medium Pro
- Shortest Path Between Preorder Labels in a Fibonacci Tree Medium Pro
- Account Referral Bonus Ledger and Threshold Queries Medium Pro
- Incremental Winner Tracking for Generalized Tic-Tac-Toe Medium Pro
- Half-Open Interval Subtraction and Graph/DP Follow-Ups Medium Pro
- Tic-Tac-Toe Simulator with Minimax Opponent Medium Pro
- Tic-Tac-Toe State Machine and Move History Medium Pro
- Insertion-Ordered Set with O(1) Snapshot Iterators Hard Pro
- Ordered Allow/Deny Cancellation of an IPv4 CIDR Medium Pro
- Minimum Travel Time Across a Speed-Limited Grid Medium Pro
- Five-Minute Window Average for Streaming Load Medium Pro
- Minimal CIDR Cover for an IPv4 Range Hard Pro
- Protected String Intervals After Deletions Medium Pro
- IPv4 Range and CIDR Firewall Rule Matcher Medium Pro
- Time-Window and Range Event Tracker Medium Pro
- CIDR Prefix Firewall Rule Engine Medium Pro
- Constant-Time N-by-N Tic-Tac-Toe Engine Medium Pro
- N-by-N Tic-Tac-Toe Winner Tracker Medium Pro
- Longest-Prefix CIDR Access Control Hard Pro
- IP and CIDR Allow-List Matcher Hard Pro
- Best Single-Mode Transit on a Grid Medium Pro
- Locate All Anagram Substring Offsets Hard Pro
- Earliest Matching IPv4 CIDR Prefix Medium Pro
- Select k Lowest-Spending Customers Medium Pro
- Shortest Path in a Fibonacci Tree Hard Pro
- First-Match IPv4 CIDR Firewall Medium Pro
- Generalized Grid Tic-Tac-Toe Hard Pro
- Constant-Time N-by-N Tic-Tac-Toe Engine Hard Pro
- Sliding Five-Minute Hit Counter Medium Pro
- Versioned Set with Point-in-Time Iterators Medium Pro
- Turn-Based Tic-Tac-Toe Engine Hard Pro
- Lazy Pipeline Array and Hit-Tracked KV Store Medium Pro
- Run-Length String Codec Medium Pro
- Streaming Hybrid Integer Block Codec Hard Pro
- Shortest Walk to Nearest Transit Hub Medium Pro
- Predicate Pushdown and Projection Pruning on Operator ASTs Hard Pro
- Fewest Source Substrings to Build Target Medium Pro
- Fastest Budgeted Path and Spanning Forest Sampling Medium Pro
Software Engineering Fundamentals (13)
- Referral-Aware Customer Revenue Tracker Medium
- Key-Value Store with Sliding-Window Read and Write Rates Medium Pro
- Concurrent Key-Value Store with Sliding Read Tallies Hard Pro
- Concurrent Write-Ahead Log with Group Commit Hard Pro
- Resilient Autocomplete Query State Controller Medium Pro
- Thread-Safe Batched File Logger Medium Pro
- Crash-Safe Key-Value Store with Write-Ahead Log Medium Pro
- MVCC Snapshot Set and Durable Write-Ahead Log Contract Hard Pro
- Concurrent Cache with Per-Key Read Counts Hard Pro
- Thread-Safe Asynchronous Event Logger Medium Pro
- Concurrent Durable File Logger on POSIX Medium Pro
- Relational Plan Column Pruning and Predicate Pushdown Medium Pro
- Constant-Time Snapshot Integer Set Medium Pro
System Design (34)
- Enterprise Messaging Core: Sequenced Timelines and Versioned Membership Hard Pro
- Foundational Chat APIs, Relational Schema, and Reconnect Synchronization Medium Pro
- Real-Time Chat Service with Message Deletion Medium Pro
- Contextual Batch Pricing Service for a Global Bookstore Hard Pro
- Type-Safe Generic Key-Value Store Library Medium Pro
- Crash-Safe Single-Node Key-Value Storage Engine Hard Pro
- Scalable Online Bookstore Architecture Medium Pro
- Reliable Bookstore Orders Across Database Commits and SQS Medium Pro
- Thread-Safe Ranged File Cache Client Hard Pro
- Thread Safety for an In-Memory Store and Hit Counter Hard Pro
- Best-Price Book Broker Across Hundreds of Asynchronous Retailers Medium Pro
- Consistent Thread Deletion Under Concurrent Messaging Medium Pro
- In-Memory Key-Value Store with Rolling Window Telemetry Medium Pro
- Multi-Merchant Book Price Comparison Service Medium Pro
- Real-Time Direct and Group Messaging with Sharded Caching Medium Pro
- Real-Time Multi-User Playlist Editor Medium Pro
- Petabyte-Scale Distributed File System Medium Pro
- Self-Scoped Distributed File System Architecture Medium Pro
- High-Throughput Concurrent Write-Ahead Log Writer Hard Pro
- Distributed File System with Linearizable Namespace Hard Pro
- Sharded Key-Value Store with Live Prefix QPS Hard Pro
- Crash-Safe Multi-Threaded Telemetry Log Buffer Medium Pro
- Real-Time Workspace Chat and Channel Platform Medium Pro
- Concurrent Write Buffer with Asynchronous Disk Flushing Medium Pro
- Global Card Payment Network and Clearinghouse Design Medium Pro
- Fault-Tolerant Card Payment Processing Backend Hard Pro
- Online Game Storefront and Wallet Backend Hard Pro
- Single-Host Durable In-Memory Cache Hard Pro
- Equity Trading Order Management System Medium Pro
- Concurrent Fixed-Capacity Blocking Queue Hard Pro
- Online Bookstore E-Commerce Platform Hard Pro
- Online Bookstore Inventory and Live Support Chat Architecture Medium Pro
- Single-Node Persistent Cache with WAL, Sharded Locking, and LRU Medium Pro
- Concurrent Crash-Safe Local Event Log Writer Medium Pro
ML System Design (5)
- Real-Time Multimodal Content Moderation System Medium Pro
- Workload Safety Screening and OOM Risk Prediction Medium Pro
- Codebase Search and Context Retrieval for an Autonomous Coding Assistant Medium Pro
- ML Safety Moderation Pipeline for LLM Inputs and Outputs Medium Pro
- Table and Notebook Retrieval Pipeline for an Enterprise Data Agent Medium Pro
Machine Learning (4)
- Linear Regression Under Sum-and-Difference Reparameterization Medium Pro
- Vectorized Linear Regression via Gradient Descent Medium Pro
- Univariate Linear Regression via Batch Gradient Descent Medium Pro
- Fitting a Simple Linear Model via Gradient Descent Medium Pro
Data Manipulation (SQL/Python) (2)
- Top-5 Closest Profiles by Shared MSE Hard Pro
- Top-5 Nearest Candidate Rows by MSE Easy Pro
Statistics & Math (3)
- Classical Linear Regression Assumptions and Violations Hard Pro
- Adjust OLS Coefficients for Rescaled Features Easy Pro
- Two-Sided Hypothesis Test for Coin Fairness Hard Pro
Behavioral & Leadership (10)
- Background Intro, Workplace Disagreement, and Flagship Project Medium Pro
- Behavioral Recruiter Screen Medium Pro
- Triage Cloud Data Quality and Pipeline Bottlenecks Medium Pro
- Senior Forward-Deployed Screen: Role Motivation, Evidence, and Research Medium Pro
- Forward Deployed Engineer Recruiter Call: Fit, Customer Delivery, and Data Stack Medium Pro
- Technical Project Deep Dive Under Live Interrogation Hard Pro
- Role Fit, Flagship System, Contested Critique, and Peer Debate Medium Pro
- High-Impact Engineering Ownership and Acting on Critique Medium Pro
- Career Narrative and Quantified Impact Medium Pro
- Engineering Drive, Hard Feedback, and Design Disputes Hard Pro