Definitions
Consider the $\{z_k\}$ where $f(z_k)=0$. Since they all must be in $|z|\le R$, if there were infinitely many, there would be a limit point and then, by the Identity Theorem, $f$ would be identically $0$. At each $z_k$, there is an $d_k\in\mathbb{N}$, so that $f(z)=(z-z_k)^{d_k}g_k(z)$, where $g_k(z_k)\ne0$ and $g_k$ is entire. Therefore,
$$
g(z)=\frac{f(z)}{\prod\limits_{k=1}^m(z-z_k)^{d_k}}\tag2
$$
is entire yet does not vanish. Since $|g(z)|\gt0$, we must have $|g(z)|\ge L$ on $|z|\le R$ (since $|g|$ is a continuous function and $|z|\le R$ is a compact set, $|g|$ attains its infimum on $|z|\le R$).
On $|z|\gt R$,
$$
\begin{align}
\prod_{k=1}^m|z-z_k|^{d_k}
&\le\prod_{k=1}^m(|z|+|z_k|)^{d_k}\\
&\le\left[\prod_{k=1}^m\left(1+\frac{|z_k|}R\right)^{d_k}\right]|z|^d\\[6pt]
&=C|z|^d\tag3
\end{align}
$$
where $d=\sum\limits_{k=1}^md_k$.
Note that since $|z_k|\le R$, we have $C\le2^d$.
Show that $\boldsymbol{d\ge n}$
Inequalities $(1)$ and $(3)$ say that
$$
|g(z)|\ge\frac MC|z|^{n-d}\tag4
$$
for $|z|\gt R$.
Let $h(z)=\frac1{g(z)}$, then
$$
|h(z)|\le\left\{\begin{array}{}
\frac1L&\text{for }|z|\le R\\
\frac CM|z|^{d-n}&\text{for }|z|\gt R
\end{array}\right.\tag5
$$
Suppose $d\lt n$, then $h(z)$ is bounded and entire. Thus, by Liouville's Theorem, $h$, and therefore $g$, would be constant. This implies that
$$
\begin{align}
\frac{|f(z)|}{|z|^n}
&=\frac{|g(0)|}{|z|^{n-d}}\prod_{k=1}^m\left|\frac{z-z_k}z\right|^{d_k}\\
&\hspace{-6pt}\overset{|z|\to\infty}\to0\tag6
\end{align}
$$
which contradicts $(1)$. Therefore, $d\ge n$.
Show that $\boldsymbol{h}$ and $\boldsymbol{g}$ are Constant
For $|z|\gt R$, $(5)$ says that $|h(z)|\le\frac CM|z|^{d-n}$. Thus, for $r\gt R$, Cauchy's Integral Formula says
$$
\begin{align}
\left|h^{(k)}(0)\right|
&=\frac{k!}{2\pi}\left|\int_{|z|=r}\frac{h(z)}{z^{k+1}}\mathrm{d}z\,\right|\\
&\le\frac{Ck!}Mr^{d-n-k}\tag7
\end{align}
$$
So if $k\gt d-n$, we have $h^{(k)}(0)=0$. That is, $h$ is a polynomial of degree at most $d-n$. However, if $h$ has degree greater than $0$, it would have a root, which would be a pole for $g(z)$, and therefore, $g$ would not be entire. So $h$ and $g$ must be constant.
Conclusion
Since $g$ is a constant,
$$
f(z)=g(0)\prod\limits_{k=1}^m(z-z_k)^{d_k}\tag8
$$
Therefore, $f$ is a polynomial of degree $d\ge n$.