Book Index Rare Order

A book collector has a special requirement. He has a book which contains a letter with English alphabets. But the sequence of letters is not the standard English. i.e. the alphabet sequence are not A,B,C.....Z.
He has to find the letter sequence from the Index for the book. What could be the right algorithm for this?
Sample Input -
Suppose these are the below Indexes given.
ZX
YX
XUY
XXX
Output sequence - ZYXU

Questions by pn8572

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions