Write Word Quickly
CodeChefOpen on judge ↗
Find the fastest way to type a word, given the word. You can skip total of T letters. Time needed to write a letter is given in an array with 26 integers depicting the time needed to type the alphabets. Index 0 will represent a, 1 will represent b, 2 will represent c till 25 representing z. Print the fastest time needed to write the word, after skipping T letters. Note: Each letter must be treate
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start