The matrix is
$\left(\begin{matrix} 0 & 0 & \cdots&0&1 \\ 0 & 0 & \cdots&1&0 \\ \vdots&\vdots&\ddots & \vdots & \vdots\\ 0&1&\cdots&0&0\\ 1&0&\cdots&0&0 \end{matrix}\right)$
For example for $n=2$ the matrix is
$\left(\begin{matrix} 0 & 1 \\ 1 & 0 \end{matrix}\right)$
For $n=3$
$\left(\begin{matrix} 0 &0& 1 \\ 0&1&0\\ 1 &0&0 \end{matrix}\right)$
So by making some calculations I noticed that the same value of the determinant is repeated at regular intervals. In particular $-1,-1,1,1,-1,-1... $ for $n=2,3,4,5,6,7...$. I have some difficulties in formalising this result and maybe answer with a closed formula (?) to determine what is the determinant for for whatever $n$ I choose. Any hint?
Notice that $A^2 = I_n$ where $I_n$ is the identity matrix of size $n$. Therefore, A is diagonizable and all eigenvalues of A are either $1$ or $-1$. Let $k$ be the multiplicity of the eigenvalue $1$ and $l$ the multiplicity of $-1$. We have $\det(A) = (-1)^l$ and $k +l =n$. Taking the trace of $A$, we have $k-l=0$ if $n$ is even, and $k-l=1$ if $n$ is odd. Therefore $\det(A) = (-1)^{n/2}$ if $n$ is even, and $\det(A)=(-1)^{(n-1)/2}$ otherwise. And it is always true that $\det(A) = (-1)^{n(n-1)/2}$
I hope this answers your question.