Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1370. Increasing Decreasing String
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.)
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.