下列矩阵中, 与矩阵 $\left(\begin{array}{lll}1 & 1 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 1\end{array}\right)$ 相似的为
$\text{A.}$ $\left(\begin{array}{ccc}1 & 1 & -1 \\ 0 & 1 & 1 \\ 0 & 0 & 1\end{array}\right)$.
$\text{B.}$ $\left(\begin{array}{ccc}1 & 0 & -1 \\ 0 & 1 & 1 \\ 0 & 0 & 1\end{array}\right)$.
$\text{C.}$ $\left(\begin{array}{ccc}1 & 1 & -1 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{array}\right)$.
$\text{D.}$ $\left(\begin{array}{ccc}1 & 0 & -1 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{array}\right)$.