• + 0 comments
    def twoStrings(s1, s2):
        return 'YES' if len(set(s1)&set(s2)) else 'NO'