I AM NOT ABLE TO PASS THE TESTCASES OF THIS PROBLEM
Remove duplicates - string
@Ayushi21,
Your code is working just fine. It is just that you haven’t taken any input string. You have passed a constant string.
No. After declaring S, seek input too.
cin>>S;
Dont write S=“something”.
ohhk thank you so much sir.
1 Like