techInterview Discussion

A part of answers to technical interview questions.

Your host: Michael Pryor

Easy card question

Given cards ace through 10 face down, you can choose 2 cards one after the other. After looking at the first card you can either choose to keep it or pick a second card. If you pick a second card, you keep the second score. What is the best strategy to maximize the score?

Saturday, October 08, 2005
If card is one of ace to five, pick again
Saturday, October 08, 2005
Assuming ace is worth 1
Dave Vroon Send private email
Saturday, October 29, 2005
Assuming the cards Ace through 10 are randomly ordered all faced down, what makes the second card's value always greater than the first one if the first one is between 1 to 5?
Ritesh Send private email
Tuesday, December 06, 2005

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz