Solve
\begin{align*}
& \Delta u:=u_{xx}+u_{yy}=0&& \text{in } r> a\\[3pt]
& u|_{r=a}=f(\theta),\\[3pt]
& \max |u| <\infty.
\end{align*}
where we use polar coordinates $(r,\theta)$ and $f(\theta)=\left\{\begin{aligned}
&1 &&0<\theta<\pi\\
-&1 &&\pi<\theta<2\pi.
\end{aligned}\right.$
The expected answer: solution as a series.