Drift interview question

Medium to tough.