Assume there are $2$ cans filled with $\frac{N}{2}$ balls each. Every time, we move a ball from the second can to the first can with probability $\frac{3}{4}$, or we move a ball from the first can to the second can with probability $\frac{1}{4}$. Assume we stop the process when one of the cans are full of N balls
Problem: Find the expected time until one of the cans contains all $N$ balls.
My idea: Let $X_n$ be the number of balls in the first can. Obviously it is equivalent to finding the expected time until $X_n = 0$ or $X_n = N$.
Assume $E_0$ is the expected time for the first can to be empty, and $E_N$ is the expected time for the first can to be full.
My question is: because we obviously know that the expected time for the first can to be full is less than its expected time to be empty (according to the probabilities), is the expected time for one of the cans to be full $\min(E_0, E_N)$ which is $E_N$?
If it is not true, how should I solve the question?
There is a positive probability $X_n=0$ before $X_n=N$ so the expectation is lower for "first time either can to be full" than for "first time first can will be full".
As an illustration, suppose you have $N=4$ balls, with $x$ in the first can and $N-x$ in the second, and the expected number of turns until the first time either can is empty is $F(x)$. With $x=1,2,3$ you need to move a ball so can add $1$ to the weighted sum of the expectation of the states you then find yourself in. Then you have: $$F(0)=0$$ $$F(1)=1+\tfrac34F(2)+\tfrac14 F(0)$$ $$F(2)=1+\tfrac34F(3)+\tfrac14 F(1)$$ $$F(3)=1+\tfrac34F(4)+\tfrac14 F(2)$$ $$F(4)=0$$ which is five simultaneous equations in five unknowns, and has the solution $$F(0)=0, F(1)=\tfrac{17}{5}, F(2)=\tfrac{16}{5}, F(3)=\tfrac{9}{5}, F(4)=0$$ and for the original question you want $F(2)=\frac{16}{5}=3.2$.
Let's deal with Benjamin Wang's first comment by saying that when one can is full then the next transfer will be to the other can.
Now suppose you do not stop when $x=0$, so you would change to using $F(0)=1+F(1)$. This is still five simultaneous equations in five unknowns, but this time the solution is $F(0)=\frac{176}{27}$, $F(1)=\frac{149}{27}$, $F(2)=\frac{104}{27}$, $F(3)=\frac{53}{27}$, $F(4)=0$, and your $E_N = F(2)=\frac{104}{27}\approx 3.85$ is higher than the answer to the original question.
You can also find $E_0$: go back to $F(0)=0$ but this time use $F(4)=1+F(3)$. This time the solution is $F(0)=0$, $F(1)=79$, $F(2)=104$, $F(3)=111$, $F(4)=112$, and your $E_0 = F(2)=104$, much higher than the other two values.