Game of Thrones - I

  • + 2 comments

    The condition checks to see if any letter appears an odd number of times. If so it will increment the count variable. You can have at most one letter appear an odd number of times - and this letter will then be the center of the palindrome.