• + 3 comments

    Use stringbuilder for first string, remove the char from builder if exist and at the end, answer = string builder length.