← Accolite questions
CodingReported in a candidate post, Aug 2021

Remove contiguous duplicate characters from a string

Filed under Accolite

Remove contiguous duplicate characters from a given string (e.g., transforming 'AAAABABBABB' into 'ABABAB'). Provide an optimized solution.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accolite questions

Collected from public candidate posts and coding forums. Updated Nov 2026.