Pregunta de entrevista de Ramco Systems

Questions with slicing and sorting a list.