Applications of Turán-type Problems in Theoretical Computer Science