Given a stream of sensor data containing timestamps and float values, write a function to return the moving average within a configurable time window.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.