Note: Although the title might sound silly, the question is (probably) not. It originated in a university-level probability course where I came across it. This most certainly is some known problem which maybe goes under another name as I did not find anything related.
The question goes as follows. Suppose $A$ has two identical boxes of candy $K_1$ and $K_2$ in his pocket which both contain $n$ pieces of candy. During the day, $A$ repeatedly reaches into his pocket and grabs randomly from either one of the boxes one piece of candy. What is the probability that, when A grabs into an empty candy box, in the other box there are exactly $0 \leq k \leq n$ pieces of candy left? Assume that it is okay for the candy box to be empty as long as $A$ does not try to grab a candy from it.
What I attempted is the following. I first defined the underlying set of possible outcomes as
$$\Omega = \{ (j, k)\;\vert\; j \in K_1, k \in K_2, 0\leq j,k \leq n\}$$
and assumed the probability for reaching in either $K_1$ or $K_2$ to be equal, i.e. $p_{K_i} = \frac{1}{2},\; i \in {1,2}$. I then proceeded by setting up a probability tree starting with $(n, n)$. I thought that what I had to do was, for each $(0, k)\; 0 \leq k \leq n$ and $(k, 0)\; 0 \leq k \leq n$ respectively to figure out the possible routes to go there and then try to find the probabilities depending on the exact $k$. $A$ can reach at most $2n$ times into his pocket before all candy is gone. Hence I thought that the lowest possible probability would be associated to the case where he alternates the boxes. After all boxes are empty he would necessarily grab an empty one next. Similarly, if he only grabs from one box again and again he would only need $n+1$ grabs before he reaches into an empty box with $n$ pieces of candy being in the other box. Yet, for the cases in the middle there are certain "detours" he can take which grow fast with the tree. As a result, what I do not get is the kind of pattern from which to extract the probability for every $k$?
EDIT: In the end I found that this problem is a variant of Banach's matchbox problem. There is a solution here at this site.