← 返回 amazon 的题目列表Check If All Characters Occur Even Number of Times
类型:online_judge
amazon
Given a string, write a code to check whether all characters appear an even number of times. The output should be a boolean: True if all characters have an even number of occurrences, False otherwise.
Example
Input: "aabbcc" Output: True
Input: "aabc" Output: False
Note
The string length range is [1, 10^4].
Example
Input
aabbcc