You are viewing a single comment's thread. Return to all comments →
this could be considered one liner in python,
def gameOfThrones(s): return 'YES' if sum([1 for i in "abcdefghjkilmnopqrstuvwxyz" if i in s if sum([1 for j in s if i==j])%2==1]) <=1 else 'NO'
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Thrones - I
You are viewing a single comment's thread. Return to all comments →
this could be considered one liner in python,