Question d’entretien chez Talabat

Easy Problem Solving question from leet code