Question d’entretien chez Smoothstack

Easy/Medium leetcode problem for the Coding Challenge.