Sliding Windows — medium Python for AI problem | Incognition