Roblox interview question

sliding window but with matrix