Pregunta de entrevista de Wayfair

Standard leet code style algorithms that you passed based on speed.