Sliding window: minimum size subarray sum — Python practice — Live Code Tutor