CodingReported in a candidate post, May 2019
Remove adjacent duplicate characters
Filed under Grofers
The question
Write a function that removes adjacent identical characters from a string until no more adjacent duplicates remain.
No write-up yet. Related questions below have one.
Related Grofers questions
Collected from public candidate posts and coding forums. Updated Nov 2026.