grindmapcompany-wise LeetCode
All companies

Databricks LeetCode Questions

31 questions all-time · 2 easy · 22 medium · 7 hard
# Problem Difficulty Frequency Acceptance
1Design Hit Counter
Array, Binary Search, Design, Queue, Data Stream
Medium
100
0.7%
2IP to CIDR
String, Bit Manipulation
Medium
97
0.5%
3Design Tic-Tac-Toe
Array, Hash Table, Design, Matrix, Simulation
Medium
94
0.6%
4House Robber
Array, Dynamic Programming
Medium
85
0.5%
5Step-By-Step Directions From a Binary Tree Node to Another
String, Tree, Depth-First Search, Binary Tree
Medium
84
0.6%
6Find All Anagrams in a String
Hash Table, String, Sliding Window
Medium
84
0.5%
7Time Based Key-Value Store
Hash Table, String, Binary Search, Design
Medium
82
0.5%
8House Robber II
Array, Dynamic Programming
Medium
80
0.5%
9Longest Palindrome by Concatenating Two Letter Words
Array, Hash Table, String, Greedy, Counting
Medium
65
0.5%
10Closest Leaf in a Binary Tree
Tree, Depth-First Search, Breadth-First Search, Binary Tree
Medium
65
0.5%
11RLE Iterator
Array, Design, Counting, Iterator
Medium
65
0.6%
12Number of Recent Calls
Design, Queue, Data Stream
Easy
63
0.8%
13Shortest Path in a Grid with Obstacles Elimination
Array, Breadth-First Search, Matrix
Hard
63
0.5%
14Snapshot Array
Array, Hash Table, Binary Search, Design
Medium
61
0.4%
15Text Justification
Array, String, Simulation
Hard
56
0.5%
16Split Message Based on Limit
String, Enumeration
Hard
56
0.4%
17Unique Paths III
Array, Backtracking, Bit Manipulation, Matrix
Hard
52
0.8%
18Permutation in String
Hash Table, Two Pointers, String, Sliding Window
Medium
52
0.5%
19Number of Flowers in Full Bloom
Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set
Hard
43
0.6%
20Spiral Matrix
Array, Matrix, Simulation
Medium
43
0.6%
21Longest Mountain in Array
Array, Two Pointers, Dynamic Programming, Enumeration
Medium
43
0.4%
22Shortest Path in Binary Matrix
Array, Breadth-First Search, Matrix
Medium
43
0.5%
23Minimum Cost to Reach Destination in Time
Array, Dynamic Programming, Graph Theory
Hard
43
0.4%
24Minimum Knight Moves
Breadth-First Search
Medium
43
0.4%
25Find the Length of the Longest Common Prefix
Array, Hash Table, String, Trie
Medium
35
0.6%
26Finding Pairs With a Certain Sum
Array, Hash Table, Design
Medium
35
0.6%
27String to Integer (atoi)
String
Medium
35
0.2%
28Merge Intervals
Array, Sorting
Medium
35
0.5%
29Count Integers in Intervals
Design, Segment Tree, Ordered Set
Hard
35
0.4%
30Rotting Oranges
Array, Breadth-First Search, Matrix
Medium
35
0.6%
31Two Sum
Array, Hash Table
Easy
35
0.6%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.