A fancy string is defined as a string where no
Given a string s, delete the minimum number of characters from s to make it a fancy string.
Return the resulting string after performing the deletions. It can be shown that the final answer is always unique.
Constraints:
s.length
s consists only of lowercase English letters.
A fancy string is defined as a string where no
Given a string s, delete the minimum number of characters from s to make it a fancy string.
Return the resulting string after performing the deletions. It can be shown that the final answer is always unique.
Constraints:
s.length
s consists only of lowercase English letters.