Skip to content

Latest commit

 

History

History

challenge-8

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Rearrange a string in sorted order followed by the integer sum

Description

Given a string containing uppercase alphabets and integer digits (from 0 to 9), the task is to print the alphabets in the order followed by the sum of digits.

Examples

Input: "AC2BEW3"
Output: "ABCEW5"