Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3324. Find the Sequence of Strings Appeared on the Screen
Given a target string and a keyboard with only two operations (append "a" or cyclically increment the last character), simulate the minimal-key-press sequence that produces target and return every intermediate screen string; for each target character you append an "a" then repeatedly increment the last character (wrapping z→a) until it matches the target.
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.