What is the determinant of the following matrix:
$$A=\begin{bmatrix}1&1&...&0\\1&...&0&1\\.&.&.&.\\0&1&...&1\end{bmatrix}$$
The size is $n\times n$ and the entries are ones except for zeros on the anti-diagonal.
My answer is $(-1)^{n-1}(n-1)$ but I am not sure.