Related Post: How To Count The Number Of Occurrences Of Each Character In A String In Java Using Hashmap