SOLUTION 
So we have detective story book represented as D
Mystery story book represented as M
And Comic book represented as C.
So, she can arrange it as follows 
D C M
C D M
M C D
C M D
M D C and 
D M C
So, the sample space is 6 ways 
Or you can say 

Therefore, the answer is 6 ways