Objective: Given a string, write an algorithm to find all the duplicate characters in the string and print its count.
Example:
Input String: tutorial horizon Output: Duplicate Characters: r - 2 t - 2 i - 2 o – 3
Objective: Given a string, write an algorithm to find all the duplicate characters in the string and print its count.
Example:
Input String: tutorial horizon Output: Duplicate Characters: r - 2 t - 2 i - 2 o – 3