Available question text
Given a lowercase string, find the minimum number of single-character edits so that no adjacent characters are "almost-equal" (equal or consecutive letters in the alphabet). The core challenge is minimizing edits under local adjacency constraints, i.e., choosing replacements for each position so neighbors are never equal or alphabetically adjacent.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2957. Remove Adjacent Almost-Equal Characters
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source