Extremal Combinatorial Problems and Their Applications