Let $\left({z_n}\right)$ be a sequence of distinct points in $D\left(0,1\right)$=$\{{z \in \mathbb{C} :\vert{z}\vert \lt{1}} \}$ with $\lim_{n\to\mathbb{\infty}} {z_n}=0$. Consider the following statements P and Q.
P: There exists a unique analytic function $f$ on $D\left(0,1\right)$ such that $f\left({z_n}\right)=\sin\left({z_n}\right)$ for all $n $.
Q: There exists an analytic function $f$ on $D\left(0,1\right)$ such that $f\left({z_n}\right)=0$, if $n$ is even and $f\left({z_n}\right)=1$, if $n$ is odd.
Which of the above statements hold true?
For P : I know that if two functions agree on convergent sequence in domain then they agree on whole domain.
Let ${z_n}=\frac{1}{n+1}$ then $\lim_{x\to \infty}{z_n}=0$ and $\lim_{x\to \infty} f(z_n)=\sin(z_n)=0$ so what I can conclude here?
For Q : I think this function is not continuous hence not analytic. But I am not getting how to prove it is not continuous?