Pearson interview question

Nothing unexpected