Smart Mock Interview Logo
Get Started
Spotify
Coding
Spotify Data Engineer Coding Interview
Created by Smart Mock Interview

Interview Questions

  1. Moving Average from Data Stream
    coding

    Title:

    Moving Average from Data Stream

    Problem:

    Implement a class that provides the moving average of the last k values from a stream of integers. Provide methods to add a value and get the current moving average.