Remove adjacent duplicates
Filed under Tokopedia
The question
Remove all adjacent duplicate characters from a string using a stack.
No write-up yet. Related questions below have one.
Related Tokopedia questions
Collected from public candidate posts and coding forums. Updated Nov 2026.