TRX interview question

Write a function in java to count the number of unique characters in a string.

Interview Answer

Anonymous

31 Oct 2015

used a hashmap to maintain a character count of each character, then returns the characters which were unique.