Roblox Interview Question

Using trees to solve questions