Remove duplicate characters from a string tech mahindra 2022
Remove duplicate characters
Return a string with non-duplicate characters, ie, if you have a string as metti then output should be mett, keeping the order of characters same. Example 1: Input1: Csharpstarz Output: Csharptz Explanation: On removing duplicate elements from the orignal string Csharpstarz, we Csharptz.......
connect with me on
connect with me on
Comments
Post a Comment