you give n string each string consist lowercase english letter Rearrange reorder give string way string string place substringsstre substre string b possible choose consecutive letter b way form for example string contain substre string codeforce contain substre string fofo rof