$A=\begin{bmatrix}1&a&b\\0&2&c\\0&0&7\end{bmatrix}$
Kush Motwani, AIR 11, 2023
$A$ is upper triangular.
$\Rightarrow\lambda=\{1,2,7\}$
$A$ has distinct eigenvalues $\Rightarrow$ it is diagonalizable (algebraic multiplicity = geometric multiplicity)
$\downarrow$
1 for each