Leetcode Selection Sort Example Program For Abstraction