Problem 3846 · Easy

Total Distance to Type a String Using One Finger

Give each key a row and column on the three-row keyboard, then add the Manhattan steps between consecutive letters.

Open the interactive visualisation