QWERTY03 - JAVA COUNTING
You are given a list of characters in English alphabets (ASCII>=97). Sort the characters and give the number of occurrences of every character.
The first line contains an integer n, the number of characters, followed by n lines with a character in every line.
Print the characters in sorted order with no duplicates.
Output format : “character < space > no_of_occurances”