On some problems in extremal, probabilistic and enumerative combinatorics