GuilinDev

Lc1081

05 August 2008

1081 Smallest Subsequence of Distinct Characters

同316,返回 s 字典序最小的子序列,该子序列包含 s 的所有不同字符,且只包含一次。

https://leetcode-cn.com/problems/smallest-subsequence-of-distinct-characters/solution/bu-tong-zi-fu-de-zui-xiao-zi-xu-lie-by-l-5qyk/