MPD interview question

Some background