Let $p(x),q(x)$ be two polynomials over a field $F$ such that $p(a)=q(a)$ for all $a\in F$. Can we say that always $p(x)=q(x)$?
If $F=\mathbb Z_5$, then it is possible to find examples of $p(x)\neq q(x)$ but $p(a)=q(a)$ for all $a\in \mathbb Z_5$. Is it possible to have such polynomials over an infinite field?