← ALL NOTES
String

2390. Removing Stars From a String

Given a string s of letters and '*' characters: each star, when processed, removes the closest non-removed letter to its left (and itself). Return the string after removing all stars (the operation…

Loading…