Chegg interview question

Objective type