Roblox interview question

3 Question, 2 easy question from leetcode code, and 1 medium question. All related to general algorithms and data structures.