Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
[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. ...
More CodeSignal OAs interview questions
- OA [CodeSignal] Prime Jumpsmedium
- [CodeSignal] Round-Robin Package Dispatcherhard
- [CodeSignal] Vowel Enclosed Reversaleasy
- [CodeSignal] Sequential House Buildermedium
- [CodeSignal] Matrix Command Enginemedium
- [CodeSignal] Leftmost Zero Fillermedium
- [CodeSignal] Cyclic Consonant Shifteasy
- [CodeSignal] Grid Arithmetic Pathhard
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.