Solution
Dictionary order (Alphabetical order) mein letters is tarah honge:
A, H, M, S, T
Humein THAMS tak pahunchne ke liye har alphabet se shuru hone wale words ko count karna hoga:
Step 1: 'A' se shuru hone wale words
Agar pehla letter 'A' hai, toh bache hue 4 letters ko 4! tariko se arrange kiya ja sakta hai:
A _ _ _ _ \implies 4! = 24
Step 2: 'H' se shuru hone wale words
H _ _ _ _ \implies 4! = 24
Step 3: 'M' se shuru hone wale words
M _ _ _ _ \implies 4! = 24
Step 4: 'S' se shuru hone wale words
S _ _ _ _ \implies 4! = 24
Step 5: 'T' se shuru hone wale words
Ab hum 'T' par pahunch gaye hain. Ab second letter ko alphabetical order mein check karenge:
-
'TA' se shuru hone wale words:
-
'TH' se shuru hone wale words:
Yahan 'TH' match kar gaya hai. Ab third letter check karenge:
Final Calculation
Serial Number (Rank) nikalne ke liye sabhi counts ko jod dete hain:
Rank=(Words starting with A, H, M, S)+(Words starting with TA)+1 (for THAMS)
Serial number of the word THAMS is 103.