Spotify interview question

frontend experience