CodingReported in a candidate post, Sep 2020
Remove all duplicate adjacent characters
Filed under Samsung
The question
Remove all duplicate adjacent characters from a string using a stack.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.