Pregunta de entrevista de SkilledAnswers

basic questions regarding sorting algorithm, array swaping