<p>Given a string <code>s</code>, remove duplicate letters so that every letter appears once and only once. You must make sure your result is <spandata-keyword="lexicographically-smaller-string"><strong>the smallest in lexicographical order</strong></span> among all possible results.</p>
<li><code>s</code> consists of lowercase English letters.</li>
</ul>
<p> </p>
<p><strong>Note:</strong> This question is the same as 1081: <ahref="https://leetcode.com/problems/smallest-subsequence-of-distinct-characters/"target="_blank">https://leetcode.com/problems/smallest-subsequence-of-distinct-characters/</a></p>