Roblox interview question

Find All Duplicates In Array