For polynomials of the form \(a_n x^n + a_{n-1}x^{n-1} + \ldots + a_1 x + a_0\) with \(a_i \in \{-1, 1\}\), \((i = 0, 1, 2, \ldots, n)\) which has all roots real, find the maximum value of \(n\).
If \(\alpha, \beta, \gamma, \delta\) are the roots of the equation \(x^4 - Kx^3 + Kx^2 + Lx + M = 0\), where \(K, L,\) and \(M\) are real numbers, then the minimum value of \(\alpha^2 + \beta^2 + \gamma^2 + \delta^2\) is