TD interview question

Two Case studies and background