the Little Elephant love string he array n string consist lowercase english letter Lets number element array 1 n let denote element number ai for string ai 1 in Little Elephant want find number pair integer l r 1lrai substring ail r substre k string array include ith stringhelp Little Elephant solve problemif familiar basic notation string problem find corresponding definition note