In a pile of 10 books, there are 3 of History, 3 of Hindi, 2 of Mathematics and 2 of English.
Taking from above, there is an English books between a History and Mathematics book, a History book between a Mathematics and an English book, a Hindi book between an English and A Mathematics book, a Mathematics book between two Hindi books and two Hindi books between a Mathematics and a History book.
Book of which subject is at the sixth position from the top ?
Starting from above , English is between History and Mathematics i.e. H, E, M.
History is between Mathematics and English i.e. H, E, M, H, E.
Hindi is between English and Mathematics i.e. H, E, M, H, E, Hi, M.
Mathematics is between two Hindi books i.e. H, E, M, H, E, Hi, M, Hi.
Two Hindi books are between Mathematics and History i.e. H, E, M, H, E, Hi, M, Hi, Hi, H.
Clearly, Hindi book is at sixth position from top.