TikTok Interview Question

Leetcode 316 Remove Duplicate Letters