leetcode 316. Remove Duplicate Letters 去除重複字符字典序最小字符串+貪心+遞歸

Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your result is the smallest in lexicographical order a
相關文章
相關標籤/搜索