filmov
tv
Frequency of Each Character in a String | Solved Using Java | Any doubts post the comments

Показать описание
Frequency of each character in string
Eg:welcomewelcome
w2 e4 l2 c2 o2 m2
*print the string without duplicates
Eg:geeks -- geks
*find the singlelets.
Eg:geeks -- gks
*find the duplicates
Eg:geeks -- e
*find the triplets,etc..,
Eg:geeeks
e
Eg:welcomewelcome
w2 e4 l2 c2 o2 m2
*print the string without duplicates
Eg:geeks -- geks
*find the singlelets.
Eg:geeks -- gks
*find the duplicates
Eg:geeks -- e
*find the triplets,etc..,
Eg:geeeks
e