There's a classic coin toss problem that asks about optimal stopping. The setup is you keep flipping a coin until you decide to stop, and when you stop you get paid $H/n%$ where $H$ is the number of heads you flipped and $n$ is the number of times you flipped. I believe that this problem is unsolved for an infinite horizon.
If we limit the horizon to allow $t$ tosses at maximum, what's the optimal stopping strategy?
I think the correct strategy is as follows: Let's say you've made $n$ flips with $n<t$, and you have $x$ heads so far. (1) If $\frac{x}{n}<\frac{1}{2}$ you should flip again; (2) If $\frac{x}{n}>\frac{1}{2}$ you should stop; and (3) If $\frac{x}{n}=\frac{1}{2}$ you are indifferent to stopping or not stopping.
Here's why. For (1), You can quit now and receive $\frac{x}{n}<\frac{1}{2}$. But if you flip again, your expected ratio after the next flip is $\frac{1}{2}(\frac{x}{n+1}+\frac{x+1}{n+1})=\frac{2x+1}{2n+2}$. Because $\frac{x}{n}<\frac{1}{2}$, we have $\frac{x}{n}<\frac{2x+1}{2n+2}<\frac{1}{2}$ (you can check these inequalities by cross multiplying). Thus by flipping again, you expect a better result.
Similar arguments show (2) and(3) as well.