Chat Activity / Message Event Aggregation

Medium · Coding · 60 min

Track sliding-window chat message counts and active conversation counts per user in bounded memory across message, interact, and end events, including out-of-order timestamps.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems