Skip to content

dbc2201/JavaCodingProblem1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Coding Problems

Chapter 1: Strings, Numbers, and Math


Problem Statement

Write a program that counts duplicate characters from a given String.

Sample Input 1

"aabcc"

Sample Output 1

{a=2, b=1, c=2}


Question taken from the book "Java Coding Problems" by Anghel Leonard.
Formatted and uploaded by dbc2201