I have a question of how to remove even duplicates in a string in C#.
example - input string:
acdhqodcqasaf
output:
acdhqosaf
What I really mean is to remove even occurrences of characters.I have written the logic but I have used nested for loops and its efficiency is O(n^2) which is not good efficiency.So I was asked to do in different way searched online still did not get the answer