OpenText interview question

Consecutive letters index position scenario based