Astranis interview question

Leetcode: Moving Average in Stream