Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Leetcode 1974. Minimum Time to Type Word Using Special Typewriter
Compute the minimum seconds to type a given word on a circular typewriter (letters 'a'–'z') with the pointer starting at 'a', where moving one step clockwise or counterclockwise costs 1 second and typing a character costs 1 second; the key is summing the shortest rotational distance between consecutive characters plus one per character.
Asked at:
JP Morgan Chase
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late October, 2025
JP Morgan Chase
Senior
If you have a ring of English characters going from A-Z, what's the cost of creating a given word? Example going from B->Z only costs two rotations.
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.