← Back
00:00

Card Range Fill

Stripe interview questions · Medium · OA round · reported 1× · 6 tests

Take sorted, non-overlapping card-number ranges that may have holes between them, and stretch each range's upper end so it reaches right up to where the following range starts.

The full question, tests and reference solution are available with a plan that includes Stripe.

Idle