Leetcode Selection Sort Example Program Using Switch