Let $f : \Bbb C \longrightarrow \Bbb C$ be an entire function i.e., analytic everywhere in $\Bbb C.$ Suppose $$\lim\limits_{\left \lvert z \right \rvert \to \infty} \dfrac {f(z)} {z} = 0.$$ Prove that $f$ is a constant function.
My attempt $:$ By the given condition it follows that $$\lim\limits_{z \to 0} z\ f \left (\dfrac {1} {z} \right ) = 0.$$
That means the function $h(z) = f \left (\dfrac {1} {z} \right )$ has a removable singularity at the origin. Hence $h$ is also an entire function. So there exist $M_1,M_2 \gt 0$ such that for all $z \in \Bbb C$ with $\left \lvert z \right \rvert \leq 1$ we have $\left \lvert f(z) \right \rvert \leq M_1$ and $\left \lvert h(z) \right \rvert \leq M_2.$ Which in turn implies that for all $z \in \Bbb C$ we have $\left \lvert f(z) \right \rvert \leq M,$ where $M = \max\ \{M_1,M_2 \}.$ Now Liouville's theorem finishes the proof.
Is my attempt correct? Please verify it. I am also eager to know other alternative methods (if available) by using power series expansion of the entire function $f$ over the entire complex plane (this is the hint given with the problem). Any help in this regard will be highly appreciated.
Thanks in advance.