Selection Sort Problem In Leetcode 150 Interview