In week 15 quiz question about spam mails. We know that out of 10000 mails 4500 are spam.
Also we know that 1434 SPAM mails have congratulations as word in it.
Now given mail is spam to find probability of that mail containing congratulations can be directly done using
But in solution whole different way is used.
Can someone help where my thinking is going wrong?