hi friends
m tryng to write a program that:
1)takes the string and returns the strings in alphabetical order,including the no. of times they appera in the string.
eg:
input:dolly
output:d1l2o1y1
2)related with the above is the other program that:
"compresses " the given string
eg
input:aaaabbbbc ccdddd
output:a4b4c3d4
can u guys help me out?
m tryng to write a program that:
1)takes the string and returns the strings in alphabetical order,including the no. of times they appera in the string.
eg:
input:dolly
output:d1l2o1y1
2)related with the above is the other program that:
"compresses " the given string
eg
input:aaaabbbbc ccdddd
output:a4b4c3d4
can u guys help me out?
Comment