+ 7
CHALLENGE : ORDERING THE STRING!
You are given a string, you have to arrange its each character in the following order: 👉In case of capital and small letter occurrence, capital letters will be ordered first and then small letters, in alphabetical order. If any letter repeats, replace the repeated part with number of its occurrences 👉Then numbers in ascending order (in parenthesis) 👉And at last the other characters in sequence of string Example, Input = I-Love2-Code-Since*1951 Output = CILScde3ino2v(1259)-*
4 Antworten
+ 5
Here it is. :)
https://code.sololearn.com/cS9XJj4zhGY7/?ref=app
+ 7
Nice challenge
https://code.sololearn.com/cyCazXOqR9Jm/?ref=app
+ 4
Note: Guyz, must comment a link of this CHALLENGE in your post, so that we can find you easily! 😊
.
Happy Coding... ♥
+ 1
You all deserve for the best answer! 😊
Confused which to choose....