Show that given matrices are not similar $$A=\begin{bmatrix} 0 &1 &0 &0 \\0 &0 &0 &0 \\0 &0 &0 &0 \\0 &0 &0 &0 \end{bmatrix}$$
$$B=\begin{bmatrix} 0 &1 &0 &0 \\0 &0 &0 &1 \\0 &0 &0 &0 \\0 &0 &0 &0 \end{bmatrix}$$
How they are or are not similar. We have that the characteristic polynomial for both $A$ and $B$ is $x^4$ with the minimal polynomial of $x^2$.
Hint: similar matrices have the same rank.