Question d’entretien chez Apple

Team related coding question with maths formula.