The determinant does not change if you change the basis.
So if $e_{i}$ are the implicit basis vector here, rewrite the matrix with respect to the basis
$$
e_{1} + e_{n}, e_{1} - e_{n}, e_{2} + e_{n-1}, e_{2} - e_{n-1}, \dots
$$
where it may end with
$$
e_{n/2} + e_{n/2+1} + , e_{n/2} - e_{n/2+1}
$$
if $n$ is even, or with
$$
e_{(n-1)/2} + e_{(n+3)/2} \qquad\text{and then}\qquad e_{(n+1)/2}
$$
if $n$ is odd.
Note that on $e_{1} + e_{n}, e_{1} - e_{n}$ and similar blocks the matrix takes the form
$$
\begin{bmatrix}
1 & 0\\
0 & -1
\end{bmatrix}.
$$
(For $n$ odd, $e_{(n+1)/2}$ is fixed by the matrix.)
So the determinant is $(-1)^{n/2}$ if $n$ is even, and $(-1)^{(n-1)/2}$ if $n$ is odd. In short, it is
$$
(-1)^{\left\lfloor \frac{n}{2} \right\rfloor}.
$$
The answer is the same as the answer to this other question, because this matrix is the permutation matrix corresponding to the permutation there, and the determinant is the same as the sign of the permutation, by Leibniz's formula.