Q.

A person has three different bags and four different books. The number of ways, in which he can put these books in the bags so that no bag is empty, is:        [2026]

1 18  
2 36  
3 39  
4 72  

Ans.

(2)

Bag 1: 2

Bag 2: 1

Bag 3: 1

Number of ways = ((4!)2!(1!)2.2!)×3!

                               =24×62×2=36