← Questions

Sliding window conversation scores with percentiles

0
DecagonCodingLast asked Oct 2026

A coding interview question asked in Decagon's technical phone screen, last asked Oct 2026. It tests sliding window, percentiles and streams.

Every customer conversation handled by a support agent gets a satisfaction score from 1 to 5. Build a tracker over a sliding time window that reports the average score and any percentile of the scores still in the window, and lets a score…

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

sliding window · percentiles · streams

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