Databricks interview questions

Software engineer

Coding

  1. IP firewall: decide whether an address is allowed by a list of CIDR allow and deny rules
  2. Generic tic-tac-toe on an N x M board where K in a row wins
  3. Concurrent file logger that many threads write to safely and fast
  4. Key-value store that also reports average get and put rates over a sliding window
  5. Concurrency over a persistent key-value store
  6. Design Hit Counter (LeetCode 362)
  7. Snapshot iterator: a set whose iterators see the contents at the moment they were created
  8. Count encrypted and unencrypted files in a file system tree, then minimize the cost of encrypting it
  9. Path finding in a Fibonacci tree
  10. Bit string compression and decompression with run-length encoding
  11. Stream statistics: return the max, min and average of the values seen so far
  12. Weighted paths in a graph
  13. LRU Cache (LeetCode 146)
  14. House Robber (LeetCode 198)
  15. Search a 2D Matrix II (LeetCode 240)
  16. Lowest common ancestor in an N-ary tree

System design

  1. Design an online bookstore that finds customers the cheapest copy of a book across distributors, with search, inventory, ordering and payment
  2. Design a multi-threaded chat system
  3. Design Facebook Messenger
  4. Low-level design of a file cache
  5. Design a system that handles a high volume of user traffic for a social media platform, scalable and fault tolerant

What Databricks looks for

  • Customer obsessed — The customer sits at the center of every decision.
  • Raise the bar — Treat each day as a chance to do better as a person and as a company.
  • Truth seeking — Decide from data and change course when the data changes.
  • Operate from first principles — Start from why and reason from fundamentals rather than copying what exists.
  • Bias for action — Debate, plan, ship and iterate with urgency.
  • Put the company first — Do what is best for Databricks as a whole, which includes living the other principles.
  • Ownership — Engineering hiring managers look for people who find high-impact problems beyond their own team and get them solved.
  • Learning and growth — The ability to learn counts for more than current skills; strong candidates reflect on what they would do differently.

Behavioral questions

  1. Why do you want to work at Databricks?
  2. Describe the project you are most proud of.
  3. Tell me about a time you had a conflict with a coworker.
  4. Tell me about a time you had to work with a difficult team member and how you handled it.
  5. Walk me through a past project: the problem, the biggest challenges and how you managed your time.
  6. Tell me about cross-functional work on a past project and its impact.
  7. How do you prioritize when deadlines compete?
  8. Describe a time you took a leadership role and led the team to a result.
  9. What would you do differently on a project you shipped?

The loop

  1. Recruiter call: A conversation with Talent Acquisition about your experience, your interest in Databricks and the role.
  2. Pre-onsite screen: A hiring manager screen, a technical assessment or both; the technical phone screen is about an hour of coding in CoderPad or a similar editor.
  3. Onsite loop: Four to six virtual interviews, usually on Google Meet; candidates report algorithm coding, a concurrency or multithreading round, system design and a cross-functional or behavioral round.
  4. Reference checks: References are checked after the onsite; candidates report they carry real weight.
  5. Hiring committee and offer: A committee reviews the whole candidacy before the decision; Databricks aims to share feedback within 48 hours of the final interview.

Tips

  • Answer behavioral questions with specific examples: the problem, what you did, the outcome and what you would improve.
  • Practice full coding problems end to end with working code and tests, and review data structures, concurrency, locks and transactions.
  • Show interest: know the product, ask questions and do not leave the interviewer to drive; if your approach stalls, step back and take the hint.
  • Practice system design in a plain document, and ask about requirements such as durability and write bursts in open-ended rounds.
  • Do not bring or use anything confidential from a current or former employer, including your work computer, for any assignment.

Sources

  1. Culture — Databricks
  2. Interview Prep — Databricks
  3. Databricks Software Engineer Interview Guide — Prepfully
  4. Databricks Senior Software Engineer Interview Experience: Phone Screen Plus Five Onsite Rounds, Then an Offer — PracHub
  5. Databricks Fulltime SDE Onsite Interview Experience: Concurrency, HitCounter, and System Design — 1Point3Acres
  6. Databricks Onsite Interview Preparation for Software Development Engineers — 1Point3Acres
  7. Databricks SDE II Interview Experience: Fibonacci Trees, CIDR and LLD — 1Point3Acres
  8. Databricks Interview Process & Questions — interviewing.io
  9. Engineering Interviews: A Hiring Manager's Guide to Standing Out — Databricks Blog

Other companies

Start free on Cariara · Coding problems · System design studio