mail.SuhailSharma wrote:
B)Getting occurences when E is together: 7!/2!
for any pattern like EE(------), we will have 7! ways.dividing by 2 as D comes 2 times.This will cover both the scenarios when 2 or more E come together.
Subtracting B from A,we will get 840.

Suhail, could you please explain how you got 7!/2!.
If you are taking Es together then you should have 6!/2!.
If you have taken just 2 'E's together then 7! makes sense. But then we should have 7!/(2!*2!). This is to take care of the combination which 2 'E's make with the single 'E'.
I went by another approach, but got different answer...Could anyone pls explain, where I went wrong?
DEFEATED after removing the 'E's can be written as
| D | F | A | T | D |
The '|' represents the spaces where an 'E' can come. There are totally 6 spaces were 3 'E's can come - in 6C3 = 20 ways.
Now the remaining letters can be arranged in (5!)/(2!) = 60 ways - (since we have 5 letters out of which 2 are same.)
So total number of options will be 60 * 20 = 1200 ways.