Coforge Interview Question

Find duplicate characters in the string

Interview Answer

Anonymous

Feb 26, 2024

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