~15 min by voice
This checks whether you know the gaps and islands technique with window functions: LAG, a gap flag, a running sum. For a senior something else matters too: whether you can recompute such a query incrementally on billions of rows, account for late events and the physical layout of the data.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.
Sign in to answerBest with headphones · ~15 min