Software internship interview questions shared by candidates
You have two decks of cards, one normal 52-card deck and one 104-card deck with double every card. Is one deck better than the other if you wanted to get two black cards in a row?
Yes, you would want to choose the 104-card deck.
With 52-card, probability is 12/204, with 104-card, probability is 25/412. The latter one is bigger
104 card deck has higher probability. For 104 cards: (52/104)*(51/103) = 0.24757 For 52 cards: (26/52)*(25/51) = 0.245098
See Interview Questions for Similar Jobs
- Software Engineer
- Software Engineer Intern
- Software Developer
- Software Engineering Intern
- Summer Analyst
- Trading Analyst
- Assistant Trader
- Software Development Engineer
- Research Analyst