← Back
00:00

Consecutive Event Detection

Anthropic interview questions · Easy · Coding round · reported 3× · 5 tests

Given a stream snapshot encoded as booleans, find every maximal contiguous run of true values whose length is at least minRun.

Interface

Idle