There are 6 letters in the word ‘RANDOM’ and in order of alphabet these comes ‘ ADMNOR’ so therefore
(i) no. of words start with 'A' are
A ××××× = 5! = 120
(ii) no. of words start with ‘D’ are
D ××××× = 5! = 120
(iii) no. of words start with ‘M' are
M××××× = 5! = 120 ,
(iv) no. of words start with 'N’ are
N ××××× = 5!=120
(v) no. of words start with ‘O' are
O××××× = 5! = 120
(vi) no. of words start with 'RAD' are
RAD××× = 3! = 6
(vii) no. of words start with ‘RAM’ are
RAM × × × = 3! =6
(viii) no. of words start with ‘RANDOM’ is
RANDOM × = 1
(ix) word next to the word RANDOM is RANDOM
so therefore rank of word ‘RANDOM’ is
120 + 120 + 120 + 120 + 120 + 6 + 6 + 1 + 1 = 614th