Mojo interview question

Leetcode medium question on sliding windows