LeetCode

Smallest Subsequence of Distinct Characters

Click here for an explanation.