On certain problems in extremal and additive combinatorics