New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Datadog
Coding Question
AI Insights
Quick Summary
Filter a collection of records to retain only those containing a specific metadata tag.
Sort the remaining records chronologically based on their timestamps.
Compute the sum of values for every consecutive window of size k using an efficient sliding approach.
What This Tests
Collection filtering and searching
Custom object sorting
Sliding window technique for aggregation
Handling edge cases like insufficient data size
Common Patterns
Sliding Window
Sorting
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Stdout
-