You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2><ahref="https://leetcode.com/problems/remove-duplicate-letters">316. Remove Duplicate Letters</a></h2><h3>Medium</h3><hr><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>
24
+
</ul>
25
+
26
+
<p> </p>
27
+
<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>
0 commit comments