Roblox interview question

Two easy-to-medium LeetCode coding questions in one hour.