Let $D=\{ z \in \mathbb{C}: |z|<3\}.$ Suppose that $f:D\rightarrow\mathbb{C}$ is an analytic function such that $|f(z)|<1$ for all $z \in D.$ Additionally, $f(\pm1)=f(\pm i)=0.$ If this is the case, then what is the maximmum value of $|f(0)|?$ For which functions is the maximum value attained ?
$\textbf{My attempt}:$ Since it is given that $f(\pm1)=f(\pm i)=0,$ we need $x^4-1$ as a factor of $f(z).$ This is the observation I am able to make. I am not able to proceed further. Any ideas would be highly helpful.