SkilledAnswers Interview Question

basic questions regarding sorting algorithm, array swaping