Minimum Window Sort Leetcode Python Coding Practice