Extremal Problems for Polynomials