Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Backspace Apply by ssk8
def backspace_apply(val: str) -> str:
new = ''
for c in val:
if c != '#':
new+=c
else:
new = new[:-1]
return new
Dec. 8, 2021
Comments: