Roblox interview question

leetcode style questions for both technicals