You are viewing a single comment's thread. Return to all comments →
If you are stuck you can follow this logic:
If len(str) is even, count of each elemnt should be even.
If len(str) is odd, count of ONLY one element should be odd, counts of all other elements should be even.