Databricks Interview Questions
Practice 93 real interview questions from Databricks. Covers Coding & Algorithms, System Design, Behavioral & Leadership, Statistics & Math. For roles including Software Engineer, Data Scientist, Machine Learning Engineer, Backend Engineer.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Test if coin is fair from 560 tails
You flip a coin n = 1000 times and observe 560 tails. At significance level α = 0.05, test whether the coin is fair. Requirements: - State the null an...
Implement a snapshotable set with iterators
Implement a SnapshotSet data structure with the following API: add(x), remove(x), contains(x), snapshot() -> sid, and iterate(sid) -> iterator over th...
Convert an IP range to minimal CIDRs
Problem Given a starting IPv4 address ip and a non-negative integer n, output the smallest possible list of CIDR blocks that exactly covers n consecut...
Find top-5 most similar rows across datasets
You are given two datasets with the same feature columns: - source (rows you want to match): - source_id (STRING/INT) - f1...fk (NUMERIC; may cont...
Design IP/CIDR rule matcher
Design and implement a rule matcher that returns 'accept' or 'deny' for a given IPv4 address based on a set of rules. Each rule can be either an inclu...
Find optimal commute mode in a city graph
You are designing a route planner that suggests the best way to commute between two points in a city using different transportation modes. The city is...
Implement RLE and bit-packing compression
You are asked to implement two related compression/decompression schemes: Run-Length Encoding (RLE) and bit-packing. --- Part 1 — Run-Length Encoding ...
Compute last-5-minute QPS in memory
Problem You are building a lightweight in-memory component that tracks the query load (QPS) of a service. Design a data structure with two operations:...
Find path between nodes in Fibonacci tree
You are given a recursively defined Fibonacci tree F(k): - F(0) is a single node. - F(1) is a single node. - For k >= 2, F(k) consists of: - a root ...
Find all anagram start indices
Problem Given two strings s and p, return all starting indices of substrings in s that are anagrams (permutations) of p. Input - s: string - p: string...
Describe your background and impact
Walk Me Through Your Background (HR Screen — Software Engineer) Prompt Provide a concise walkthrough of your background focusing on: 1. Most relevant ...
Find top-5 most similar rows across datasets
You can solve this in SQL or Python. You are given two datasets with the same feature columns: Tables target_rows (rows you want to match) - target_id...
Calculate Second-Degree Followers for Each YouTuber
following +----------+----------+ | YouTuber | follower | +----------+----------+ | A | B | | A | C | | B | D ...