00:01
The first part of the exercise, we have to see how many strings can we make that contain the combination ed.
00:08
So what we are going to do is consider ed one letter.
00:13
So now we have instead of eight letters, seven letters, when one of them is a little bit more complex.
00:21
So how many permutations of seven letters can we do? and that would be seven factorial, that is 5040.
00:32
Now, for b, we have to do the same, but with c -d -e.
00:37
So we are going to think about c -d -e as one letter.
00:40
So now instead of having a letters, we have six.
00:46
Then we have to calculate the factorial of six.
00:51
The next question asks us to check how many strings have da and f -g -h.
00:59
Same idea than before.
01:01
We are going to think b -a as one letter and f -g -h as another letter.
01:08
So now we have five letters.
01:13
So we have to do 5 factorial.
01:16
That is 120...