Question d’entretien chez Apple

Design and implement a rest application Phone screen: algorithm question from leetcode