Repeatedly remove adjacent equal characters until none remain; return the result.
Write remove_adjacent(s).
Starter:
def remove_adjacent(s):
# TODO
pass
Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge
Top comments (0)