TD interview question

Nothing difficult