There are two brand shops - A and B. A manufactures 1000 laptops, of which 100 are defective. B manufactures 100 laptops, of which 10 are defective. When I go to buy at a shop of any brand, they simply pick a laptop at random and give it to me. Which shop should I buy from - A or B?
I was given this problem by a friend who's into tricky puzzles, so I'm skeptical that this will be straightforward. I'm thinking that in both cases there's a 10% chance of getting a defective laptop. So I guess both shops are equally fine to buy from? Am I missing something here and is there a more involved solution to this?