Roblox Interview Question

It was a distinct subsequences LC question