Available question text
Given two lowercase strings, find the minimum single-character edits to either make every letter in a strictly less than every letter in b (or vice versa), or make both strings consist of a single repeated letter; this is solved efficiently by using frequency counts and prefix sums over the 26 letters to evaluate all split points and uniform-letter options.
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 1737. Change Minimum Characters to Satisfy One of Three Conditions
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source