~/companies / Databricks
Databricks problems
18 problems in the style reported for Databricks interviews and assessments, easy to hard. bossfight.dev isn't affiliated with Databricks.
0 of 18 solved
What the set leans on
Object-oriented design and extensible simulations · 4 Condition variable · 2 BFS / multi-source BFS · 1 Binary trees · 1 Bit manipulation (IP / CIDR) · 1 Greedy with sorting · 1 Intervals / sweep line · 1 Iterators and generators · 1 Rolling windows and rate counters · 1 Serialization and durability · 1 Simulation · 1 Sorted containers (bisect) · 1 Topological sort (Kahn's) · 1 Tree DP · 1
- Punch one point out of a run of ranges Intervals / sweep line ~15 min easy
- Build steps that run alone Topological sort (Kahn's) ~25 min medium
- Tetris block drop Simulation ~25 min medium
- Directions inside a Fibonacci tree Binary trees ~30 min medium
- Encode and decode with RLE and bit-packing Serialization and durability ~30 min medium
- Customer revenue system assessment 2 levels Sorted containers (bisect) ~45 min medium
- Directory encryption with the fewest operations assessment 2 levels Tree DP ~45 min medium
- Dual circuit breakers assessment 2 levels Object-oriented design and extensible simulations ~45 min medium
- K-in-a-row with validation and undo assessment 2 levels Object-oriented design and extensible simulations ~45 min medium
- Lazy array with deferred maps assessment 2 levels Object-oriented design and extensible simulations ~45 min medium
- Ordered CIDR firewall assessment 2 levels Bit manipulation (IP / CIDR) ~45 min medium
- Referral Credit Tracker assessment 2 levels Object-oriented design and extensible simulations ~45 min medium
- Cache that loads each key once assessment 3 levels Condition variable ~50 min medium
- Key-value store with rolling QPS assessment 3 levels Rolling windows and rate counters ~60 min medium
- Link the clusters, spread the links Greedy with sorting ~45 min hard
- Snapshot Set Iterator assessment 2 levels Iterators and generators ~50 min hard
- Fastest commute on a mode grid assessment 3 levels BFS / multi-source BFS ~60 min hard
- Durable multi-threaded log writer (group commit) assessment 3 levels Condition variable ~75 min hard