Skip to content

Latest commit

 

History

History

print_duplicate_char

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

How do you print duplicate characters from a string?

Solution: Create an array representing for A-Z characters. Pass through the string to count each char.

Print which have more than 1 repeat.