Question: NOTE : USE C LANGUANGE, USE SORTING, DONT USE STDLIB.H LIBRARY, DONT USE VOID MAIN The switch of every keys in Jojos mechanical keyboard are

NOTE : USE C LANGUANGE, USE SORTING, DONT USE STDLIB.H LIBRARY, DONT USE VOID MAIN

The switch of every keys in Jojos mechanical keyboard are weird. Characters are typed more times than the keys are pressed. Given S, determine the shortest ordering of keypress Jojo did.

Format Input

The only line of input contains S, the string of typed characters.

Format Output

The output of this problem will be the order of keypresses.

Constraints

1 |S| 105

Sample Input (standard input)

Bllueeee Swiitchesss

Sample Output (standard output)

Blue Switches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!