Minimum Window Sort Leetcode Python Beginner