Available question text
Reorder a lowercase string by repeatedly building increasing then decreasing runs: repeatedly append the smallest unused character, then successive larger unused characters until none remain, then append the largest unused character and successive smaller ones, repeating this forward/backward sweep until all characters are used. (Useful observation: this is effectively simulating sweeps over the alphabet with character counts.)
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 1370. Increasing Decreasing String
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source