You are viewing a single comment's thread. Return to all comments →
def stringConstruction(s): result = 0 unique = set() for item in s: if item not in unique: unique.add(item) result += 1 return result
Seems like cookies are disabled on this browser, please enable them to open this website
String Construction
You are viewing a single comment's thread. Return to all comments →