Pregunta de entrevista de Littledata

Algorithm questions and their complexities