You are given a string s that contains lowercase English letters and the character '*'.
You must eliminate all '*' characters by repeatedly performing the following operation:
Select the leftmost '*' in s.
Delete this '*' alongside the smallest character other than '*' situated to its left. If there are multiple occurrences of the smallest character, any one of them may be deleted.
Return the lexicographically smallest string that can be formed after removing all '*' characters.
Constraints:
s.length
s consists only of lowercase English letters and '*'.
The input is generated such that it is possible to delete all '*' characters.
You are given a string s that contains lowercase English letters and the character '*'.
You must eliminate all '*' characters by repeatedly performing the following operation:
Select the leftmost '*' in s.
Delete this '*' alongside the smallest character other than '*' situated to its left. If there are multiple occurrences of the smallest character, any one of them may be deleted.
Return the lexicographically smallest string that can be formed after removing all '*' characters.
Constraints:
s.length
s consists only of lowercase English letters and '*'.
The input is generated such that it is possible to delete all '*' characters.