On optimal structures in hypergraphs