diff --git a/1957. Delete Characters to Make Fancy String1 b/1957. Delete Characters to Make Fancy String1 new file mode 100644 index 0000000..33a9dc1 --- /dev/null +++ b/1957. Delete Characters to Make Fancy String1 @@ -0,0 +1,21 @@ +class Solution { +public: + string makeFancyString(string s) { + int n = s.length(); + int count = 1; + string res = ""; + res += s[0]; + + for(int i=1; i