Domanda di colloquio di Propelled Brands

A coding question based on DS algo.