You are viewing a single comment's thread. Return to all comments →
Python
def super_reduced_string(s: str) -> str: for c in s: s = s.replace(c + c, "", 1) return s if s else "Empty String"
Seems like cookies are disabled on this browser, please enable them to open this website
Super Reduced String
You are viewing a single comment's thread. Return to all comments →
Python