JumpCrew Interview Question

How to do a moving average