https://edstem.org/us/courses/71907/discussion/6312186?comment=15391510 The sliding window is [15, 15+W-1], not [15, 15+W].