+ 1
how to get rid of duplicates in a string in c++?
string s = "stayinghomesaveslife"; //given string s = "stayinghomevlf"; // required string
1 Odpowiedź
0
Just go to this link and see the second answer :))
https://codereview.stackexchange.com/questions/184189/c-program-to-remove-duplicate-characters-from-string