BorgWarner interview question

he is asking question from coding.