Back

print the least repeated character in the string?

Created 2 years ago
73 Views
3 Comments
SakthivelHmOLkh
@SakthivelHmOLkh
SakthivelHmOLkh
@SakthivelHmOLkhProfile is locked. Login

Given a string, print the least repeated characters in the string.If there are more than one character repeated preserve the order as in the input.
Input Size : 1 <= N <= 100000
Sample Testcase :
INPUT
codeKata challenge
OUTPUT
odKthng

Comments (3)
Please login to comment.