Pregunta de entrevista de Lightricks

sorting questions, some basic time complexity stuff,