Title: Extremal problems in graphs and hypergraphs