Coding Ninjas Selection Sort Complexity