Databricks Software Engineer Coding & Algorithms Interview Questions

Practice 54 real Coding & Algorithms interview questions for Software Engineer roles at Databricks.

54 Questions 1 Company07.30.2026
Showing 20 results
Role
Databricks logo
Databricks
Medium
Software Engineer Locked

Partition a Target String by Source Substrings

This question evaluates understanding of string algorithms and optimal partitioning, specifically substring matching and minimizing the number of cont...

Coding & Algorithms
3
0
19 people solved
May 14, 2026
Databricks logo
Databricks
Medium
Software EngineerIntern

Design Tic-Tac-Toe and QPS data structures

You are given two independent coding problems that focus on data structure and API design. --- Problem 1: Generalized Tic-Tac-Toe Game with Simple AI ...

Coding & Algorithms
51
0
369 people solved
Nov 13, 2025
Databricks logo
Databricks
Medium
Software Engineer

Implement a rate-limited hit counter

You are designing a hit counter that records the number of hits received in the past 5 minutes. Implement a class HitCounter with the following method...

Coding & Algorithms
20
0
327 people solved
Dec 8, 2025
Databricks logo
Databricks
Medium
Software Engineer

Implement Random Connectivity and Grid Routing

This entry contains two independent coding problems. Problem 1: Uniformly connect node groups You are given k non-empty, disjoint groups of unique nod...

Coding & Algorithms
5
1
54 people solved
Apr 17, 2026
Databricks logo
Databricks
Medium
Software EngineerSenior+

Find optimal commute mode in a city graph

You are designing a route planner that suggests the best way to commute between two points in a city using different transportation modes. The city is...

Coding & Algorithms
30
0
284 people solved
Oct 19, 2025
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Implement firewall matching with CIDR rules

Implement a simple IPv4 firewall rule matcher. Problem You are given an ordered list of firewall rules. Each rule has: - an action: ALLOW or DENY - a ...

Coding & Algorithms
11
1
177 people solved
Dec 10, 2025
Databricks logo
Databricks
Hard
Software Engineer Locked

Minimize run-length encoded length with deletions

This question evaluates proficiency in string manipulation, run-length encoding concepts, and dynamic programming-based optimization under deletion co...

Coding & Algorithms
29
0
502 people solved
Feb 12, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Choose fastest transportation mode on city grid

This question evaluates a candidate's ability to model constrained grid movement and perform weighted shortest-path optimization, covering skills in g...

Coding & Algorithms
16
0
188 people solved
Feb 11, 2026
Databricks logo
Databricks
Medium
Software EngineerSenior+

Implement RLE and bit-packing compression

You are asked to implement two related compression/decompression schemes: Run-Length Encoding (RLE) and bit-packing. --- Part 1 — Run-Length Encoding ...

Coding & Algorithms
34
1
238 people solved
Oct 10, 2025
Databricks logo
Databricks
Hard
Software EngineerNew Grad Locked

Evaluate ACL rules for IP and CIDR

This question evaluates a candidate's competency in IP address and CIDR arithmetic, bitwise reasoning, and algorithm design within the Coding & Algori...

Coding & Algorithms
9
0
62 people solved
Jan 22, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Find path between nodes in Fibonacci tree

This question evaluates understanding of recursive tree structures, preorder indexing, implicit tree representations, algorithmic reasoning about node...

Coding & Algorithms
4
0
42 people solved
Jan 22, 2026
Databricks logo
Databricks
Medium
Software Engineer

Design IP/CIDR rule matcher

Design and implement a rule matcher that returns 'accept' or 'deny' for a given IPv4 address based on a set of rules. Each rule can be either an inclu...

Coding & Algorithms
26
0
253 people solved
Sep 6, 2025
Databricks logo
Databricks
Hard
Software Engineer Locked

Find all anagram start indices

This question evaluates proficiency in string manipulation, algorithmic efficiency, and pattern detection through character frequency analysis, assess...

Coding & Algorithms
14
0
137 people solved
Jan 7, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Implement a Tic-Tac-Toe game API

This question evaluates implementation skills in data structures and algorithmic optimization, focusing on efficient state tracking and constant-time ...

Coding & Algorithms
14
0
101 people solved
Jan 7, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Convert an IP range to minimal CIDRs

This question evaluates understanding of IPv4 address encoding, binary and bitwise operations, and optimal interval covering for expressing consecutiv...

Coding & Algorithms
6
0
48 people solved
Jan 7, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Implement lazy array and KV store

This question evaluates understanding of lazy evaluation and functional transformation chaining for a LazyArray alongside in-memory data structure des...

Coding & Algorithms
8
0
100 people solved
Jan 5, 2026
Databricks logo
Databricks
Medium
Software Engineer

Design an IP filter using CIDR rules

Explain CIDR notation with a couple of concrete examples. Show how to convert a prefix like 192.168.0.0/16 into an inclusive 32-bit integer range and ...

Coding & Algorithms
34
0
258 people solved
Jul 31, 2025
Databricks logo
Databricks
Medium
Software Engineer

Implement a sliding-window hit counter

Implement a hit counter that supports recordHit(timestamp) and getHits(pastSeconds). Use a fixed-size array to maintain a sliding time window (e.g., l...

Coding & Algorithms
16
0
111 people solved
Sep 6, 2025
Databricks logo
Databricks
Medium
Software Engineer

Design BFS to detect forced win in Tic-Tac-Toe

You are given an n×n Tic-Tac-Toe–like board and a target k (1 ≤ k ≤ n). From the current board state and the player to move, design an algorithm to de...

Coding & Algorithms
18
0
166 people solved
Aug 13, 2025
Databricks logo
Databricks
Medium
Software Engineer Locked

IPv4 CIDR Range Membership Queries

This question evaluates a candidate's ability to design an efficient longest-prefix-match lookup structure for IP address ranges, a core networking an...

Coding & Algorithms
1
0
10 people solved
Jun 23, 2026

Explore more Databricks Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Databricks Software Engineer categories
Browse all