You are viewing a single comment's thread. Return to all comments →
def twoStrings(s1, s2): set1 = set(s1) for char in s2: if char in set1: return "YES" return "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Two Strings
You are viewing a single comment's thread. Return to all comments →