Minimum Window Sort Leetcode Javascript Practice Test