Minimum Number of Pushes to Type Word II

Try to solve the Minimum Number of Pushes to Type Word II problem.

Statement

The keys (numbered 22 to 99) on a telephone keypad are associated with specific groups of lowercase English letters. Below is an example of how letters can be mapped to keys on a telephone keypad.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.