Category: Grid/matrix coding problemYou are given a 2D grid representing a city map. Each cell contains one of the following: - 'S' -- your starting location - 'D' -- your...Input: 2D grid Output: Computed result
codingMediumVerified Question#2
2. Bottleneck Dependencies
Category: Graph coding problemYou are managing a build pipeline for a software project. The pipeline contains n components labeled 0 to n-1, connected by prerequisite...Input: Graph (nodes and edges) Output: Computed result
codingMediumVerified Question#3
3. Encode And Decode
Category: Array coding problemImplement an encoder and decoder for integer arrays using two compression techniques: Run-Length Encoding (RLE) and Bit Packing (BP).Input: Array of integers Output: Computed result
codingMediumVerified Question#4
4. Customer Revenue System
Category: Algorithm coding problemDesign a customer revenue tracking system that supports direct sign-ups and referral-based registration. Each customer has a unique auto-incrementing...Input: List Output: Array
codingMediumVerified Question#5
5. Design Lazy Array
Category: Array coding problemGiven an integer array, a list of multipliers, and a target value, determine the first index in the array whose element equals the target after all...Input: Array Output: Computed result
codingMediumVerified Question#6
6. Remove Covered Point
Category: Interval-based coding problemA warehouse uses a shelving system where each shelf occupies a contiguous range of slot positions [start, end) (the end position is exclusive --...Input: List Output: Computed result
codingMediumVerified Question#7
7. Tic-Tac-Toe II
Category: Algorithm coding problemDesign a generalized Tic-Tac-Toe game played on an n x m board where the first player to place k consecutive marks in a row, column, or diagonal...Input: Number(s) Output: Computed result
No AI generated questions yet for Databricks.
Start practicing Databricks questions
Sign up for free to access walkthroughs, AI-generated questions, and more.