If 5 letters A , B , C , D and E are to be arranged but A and B should not be together. How many arrangments are possible? How can i solve this? Can someone please explain?

Different ways to arrange A,B,C,D,E = 5! = 120

Different ways to arrange A,B,C,D,E such that A and B are next to each other = 4! * 2! = 48

Different ways to arrange A,B,C,D,E such that A and B are not next to each other = 120 - 48 = 72

thank you vidisha

Thank you Sakthisreev