You are given a linear keyboard i.e. a keyboard in a single row with letters extending from a to z. You are only allowed to type with one finger. Thus to type “cab”, your finger must move from c to a: by jumping over 1 letter and then from a to b, by jumping over 0 letters. Thus the total letters jumped over is 1.
Similarly, for the word “hello”, 10 jumps are performed [h-e: 2, e-l: 6, l-l: 0, l-o:2 ]
How many letters must be jumped over to type “supercalifragilisticexpialidocious” and “antidisestablishmentarianism”? The answer is the product of these two numbers.
Krish Shah : 9323115454
Kaustubh Khavnekar : 9769408039