Coforge interview question

Find duplicate characters in the string

Interview Answer

Anonymous

26 Feb 2024

Group the input string characters with the frequency count of characters and then return the characters whose count is greater than 1.