Problem 73: Letter Count

Let’s take a string and you have to find how many alphabets are there and their repetitions. Case sensitive.

Ex: Input: Output:
AaaBBc A(1)B(2)a(2)c(1)

 

3,085 total views, 2 views today

Comments

comments

Leave a Reply

Your email address will not be published.