Roblox Interview Question

sliding windows, maximum continuous sub array algorithm