Question d’entretien chez Wayfair

Three questions. One very very simple debugging question. Two algorithm question that are leetcode easy