Minimum Window Sort Leetcode Javascript Practice Problems