You are viewing a single comment's thread. Return to all comments →
one line solution in python
def twoStrings(s1, s2): return 'YES' if any(i in s2 for i in s1 ) else '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 →
one line solution in python