LeetCode
Question
·
Nov 2019
·
Los Angeles
Facebook | Phone | Average Value in Past K Minutes
2 upvotes
1,787 views
3 replies
Question Details
You\'re given a stream of timestamp and weight pairs, with timestamp monotonically increasing. Implement a class which supports calculating average weight across all events in the past K mins. For instance,...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Binary Search
Stack
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops