Let $S_n$ be a simple random walk, with $S_0 = 0$ and $S_n = \sum_{i=1} ^{n} X_i$, where $P(X_i = 1) = P(X_i = -1) = \frac{1}{2}$ and the $X_i$ i.i.d.
Define the stopping time $T := \inf \{n \geq 0 : S_n \in \{a,b\} \}$, with $a <0 < b$.
How can I show whether $E[T] < \infty$ ?
I know that random walk in dimension 1 is recurrent, so the hitting times of $a$ and $b$ are finite, but I don't see how I can use this to show $E[T] < \infty$.
Hints: