Enterprise SaaS

Databricks interview questions

Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.

Problems
34
Easy
1
Medium
24
Hard
9
Mapped to chapter
12

Array

20 problems

Medium 14

#TitleDifficultyAlso atChapter
54Spiral Matrixalso at:AdobeAutodeskEpic Systems Also at 21 moreAmazonAMDAppleBloombergByteDanceCapital OneCiscoDelhiveryeBayFlipkartGoogleIntuitMetaMicrosoftMorgan StanleyNetflixOYOPayPalPhonePeRobloxZoho MediumChapter
56Merge Intervalsalso at:AdobeAtlassianAutodesk Also at 46 moreCrowdStrikeDocuSignDropboxOktaPalantirRipplingSAPVMwareAirtelAmazonAMDAppleBloombergByteDanceCars24CiscoCitadelDoorDasheBayExpediaFlipkartGoldman SachsGoogleInstacartJuspayMetaMicrosoftMorgan StanleyNetflixOYOPayPalPhonePeQualcommRazorpayRobloxSnapTargetTeslaToastUberVisaWalmart Global TechX (Twitter)YelpZohoZomato MediumChapter
162Find Peak Elementalso at:DocuSignVMwareAmazon Also at 14 moreBloombergByteDanceFlipkartFreshworksGoogleGrowwLyftMetaMicrosoftPayPalRedditSnapUberUrban Company MediumChapter
198House Robber also at:AdobeDatadogAirbnb Also at 24 moreAmazonBloombergByteDanceCars24CiscoCitadelCleartripCure.fiteBayExpediaFlipkartGoogleIntuitMetaMicrosoftNianticNVIDIAOYOPayPalPhonePeSamsaraTeslaWalmart Global TechZoom MediumChapter
213House Robber II also at:DatadogDocuSignSalesforce Also at 4 moreAmazonBloombergeBayGoogle MediumChapter
348Design Tic-Tac-Toealso at:AtlassianAirbnbAmazon Also at 4 moreMicrosoftTeslaTwo SigmaWise MediumChapter
362Design Hit Counter also at:AtlassianCloudflareDropbox Also at 9 moreAppleBloombergDeliverooGoogleMetaOpenAIRedditRobloxUber MediumChapter
845Longest Mountain in Arrayalso at:Google Medium
1146Snapshot Array also at:MongoDBSnowflakeAmazon Also at 2 moreAppleeBay MediumChapter
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limitalso at:AmazoneBayPhonePe Also at 1 moreUber Medium
1865Finding Pairs With a Certain SumMedium
2131Longest Palindrome by Concatenating Two Letter WordsMedium
2817Minimum Absolute Difference Between Elements With Constraintalso at:Capital OneRobloxVisa Medium
3043Find the Length of the Longest Common Prefixalso at:AmazonBloombergCapital One Also at 4 moreCoinbaseGoogleRobloxVisa Medium

Hash Table

4 problems

Hard 1

#TitleDifficultyAlso atChapter
352Data Stream as Disjoint IntervalsHard

String

4 problems

Medium 3

#TitleDifficultyAlso atChapter
8String to Integer (atoi)also at:AdobeVMwareAmazon Also at 7 moreBloombergeBayGoogleMetaMicrosoftNianticQualcomm Medium
751IP to CIDRalso at:AirbnbOpenAI Medium
2096Step-By-Step Directions From a Binary Tree Node to Anotheralso at:Snowflake Medium

Hard 1

#TitleDifficultyAlso atChapter
2468Split Message Based on LimitHard

Misc

6 problems

Easy 1

#TitleDifficultyAlso atChapter
933Number of Recent Callsalso at:AmazonBloombergGoogle Also at 3 moreMetaMicrosoftRoblox EasyChapter

Hard 1

#TitleDifficultyAlso atChapter
2276Count Integers in IntervalsHard