I thought of a problem earlier and I am quite clueless on how to solve it, or begin solving it, because I cannot find a way to easily compute the amount of combinations of $2$ cards that sum to a certain value $x$. Anyway, the first part of the problem is as follows
We have a full deck of $52$ cards, and randomly select $2$ cards from this deck. We look at the cards and compute the sum of the values of the cards, ace being $1$ and K, Q and J being $13$, $12$ and $11$ respectively. We then shuffle the cards back into the deck and randomly select $2$ cards once more. What is the probability that the sum of the value of these $2$ cards, is the same as the sum of the values of the first $2$ selected cards?
This brought me to think of another problem, which is comparable. It is as follows
Let's say we have a full deck of $52$ cards, we randomly select $2$ cards, and we do this twice, yielding $2$ sets of $2$ cards. What is the probability that the sum of the values of the cards in the first set, equals the sum of the values of the cards in the second set?
Again, I'm quite confused about this problem, because I cannot think of an easy way to compute the amount of possible configurations of two cards, that sum to some value $x$.
Any help on solving these problems is appreciated. Furthermore, what would be a good guesstimate for these probabilities that could be given without any computations?
For an interview, I'd try to compare the second scenario to the first.
Say that you draw $6$ and $3$ the first time. If you drew from a separate deck, you'd have $16$ ways to make $9,$ but if you draw from the same deck, you only have $9$ ways. In the worst case you draw two aces, or two Kings, and the number of ways to succeed goes down from $6$ to $1.$ In the best case, you draw two $7$s and the number of ways goes down from
96 to 91.$102$ to $97$.Of course, the better cases, near the middle will occur more frequently than the worse cases, near the ends, so I would guess that the probability of success in the second case might be about $\frac34$ of the probability of success in the first case.
Drat! Now I'm going to have to work them out and see how close I came.
EDIT
In response to the OP's that we don't have an explicit answer for the first problem either, in an interview, I would do the same kind of estimation. There are $${52\choose2}={52\cdot51\over2}\approx 1300$$ ways to chose two cards. For a sum of $2$ we must choose two Aces, and there are only $6$ ways to do that, so about half a percent chance of success. If the sum is $14,$ we have $102$ chances of success, so around $8\%.$ Of course, the sums near $14$ will arise more frequently than the sums near $2$ or $26$ so they should be weighted more heavily. I'd guess around $5$ percent.
ACTUAL ANSWERS
With one deck, the probability of success is $${328888\over6497400}\approx .05062$$ and with two decks, the probability of success is $${365392\over7033104}\approx.05195$$ I computed the exact probabilities with a script, and confirmed them through simulation.