← Questions

Remove one point from a cover of integer intervals

0
DatabricksCodingLast asked Aug 2026

A coding interview question asked in Databricks's algorithms (two rounds) round, last asked Aug 2026. It tests intervals, arrays and fenwick tree.

You are given a list of non-overlapping half-open intervals. An interval [start, end] with start < end covers the integers start, start + 1, ..., end - 1.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

intervals · arrays · fenwick tree

Your code and the AI tutor open when you unlock this question.