Medium
,String
,Stack
2390. Removing Stars From a String
You are given a string s
, which contains stars *
.
In one operation, you can:
s
.Return the string after all stars have been removed.
Note:
Example 1:
Example 2:
Constraints:
s.length
<= 105s
consists of lowercase English letters and stars *
.s
.Ron ChenTue, Apr 11, 2023
gpTue, Apr 11, 2023
MarsgoatTue, Apr 11, 2023
JimWed, Apr 12, 2023