0 day streak

Databricks coding interview questions

Enterprise SaaSProduct Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Design Hit CounterQueue / Circular Buffer Medium Design Data Structures Google, Apple, Uber +3 Solve
IP to CIDRTricks to remember Medium Bit Manipulation Airbnb Solve
Design Tic-Tac-ToePre-processing + tradeoffs Medium Design Data Structures Shopify, Tesla Solve
Find All Anagrams in a StringSliding Window · Fixed Medium Arrays & Hashing Amazon, Snowflake, VMware by Broadcom Solve
Step-By-Step Directions From a Binary Tree Node to AnotherLCA Medium Trees & BST Snowflake, Spotify Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Nvidia, Adobe +13 Solve
Time Based Key-Value StoreBasics Medium Binary Search Apple, Netflix, Snowflake +5 Solve
House Robber IIAlternate Selection / Pick / Not pick Medium Dynamic Programming Goldman Sachs, MakeMyTrip Solve
Shortest Path in a Grid with Obstacles EliminationBFS for shortest path Hard Graphs Pinterest, Adobe, Cisco +1 Solve
Snapshot ArrayBasics Medium Binary Search Google, Apple, Netflix +2 Solve
Permutation in StringSliding Window · Fixed Medium Arrays & Hashing Media.net Solve
Shortest Path in Binary MatrixBFS for shortest path Medium Graphs Google, Oracle Solve
Minimum Cost to Reach Destination in Time2D DP Hard Dynamic Programming PhonePe Solve
Minimum Knight MovesBFS for shortest path Medium Graphs Microsoft, Myntra, Groww Solve
Rotting OrangesMulti source BFS Medium Graphs Amazon, Microsoft, Pinterest +17 Solve
Text JustificationSimulation Hard Arrays & Hashing Google, Microsoft, Airbnb +6 Solve
String to Integer (atoi)Simulation Medium Arrays & Hashing Apple, Netflix, Nvidia +1 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Find the Length of the Longest Common PrefixBasics Medium Tries Coinbase, Visa Solve
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Nutanix +15 Solve
Longest Mountain in ArrayTwo Pointer Medium Arrays & Hashing Apple, IBM, ShareChat Solve
Valid AnagramHashing Easy Arrays & Hashing Netflix, Bloomberg, Spotify +13 Solve
Valid Triangle NumberTwo Pointer Medium Arrays & Hashing Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +13 Solve
First Unique Character in a StringHashing Easy Arrays & Hashing Nutanix, Goldman Sachs, JPMorgan Chase +8 Solve
Count PrimesMath / Number Theory Medium Arrays & Hashing American Express, Intel, Wipro +2 Solve
Also reported, being added to AlgoRung (10)

Number of Recent Calls · RLE Iterator · Longest Palindrome by Concatenating Two Letter Words · Closest Leaf in a Binary Tree · Unique Paths III · Count Integers in Intervals · Number of Flowers in Full Bloom · Split Message Based on Limit · Finding Pairs With a Certain Sum · Find Target Indices After Sorting Array

Questions people ask

What coding questions does Databricks ask most?

Design Hit Counter, IP to CIDR, Design Tic-Tac-Toe, Find All Anagrams in a String, Step-By-Step Directions From a Binary Tree Node to Another, House Robber, Time Based Key-Value Store, House Robber II.

Which topics come up in Databricks coding rounds?

graphs, grids, design data structure, sliding window, intervals, binary search.

How hard are Databricks coding questions?

Of the reported questions, 4 are easy, 20 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.