Extremum problems in the theory of analytic functions