Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
14
:
03
:
45
:
32
Back to Dashboard
[CodeSignal] Adjacent Character Removal
Easy
You have a word of length L made up only of lowercase English letters. A character at position i is called a conflict if it equals the character immediately before it (i.e., word[i] == word[i-1]).
In each repair step, you may replace any one character with any different lowercase letter. Find the minimum number of repair steps needed to produce a word with zero conflicts. ...
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.