(A) 18
(B) 20
(C) 25
(D) 27
Correct Option is: B
Since each desired word is ending with G, the least place is occupied with G. So, there is only 1 way.
The second place can now be filled by any of the remaining 5 letters (A , M , D , N , J ). So, there are 5 ways
of filling that place.
Then, the first place can now be filled by any of the remaining 4 letters. So, there are 4 ways to fill.
Required number of words = (1 x 5 x 4) = 20