Answer:
a). The number if ways it can be arranged in a row= 362880 ways
b). 40320 ways
c). 5040 ways
Step-by-step explanation:
There are 9 alphabets in the word ALGORITHM
The number if ways it can be arranged in a row= 9!
The number if ways it can be arranged in a row= 9*8*7*6*5*4*3*2*1
The number if ways it can be arranged in a row= 362880 ways
if A and L must remain together (in order) as a unit, then we take it as 8 alphabets
= 8!
= 8*7*6*5*4*3*2*1
= 40320 ways
if the letters GOR must remain together (in order) as a unit, then we have 7 alphabets units remaining
= 7!
= 7*6*5*4*3*2*1
= 5040 ways