Anfonwch hwn fel neges destun: Induced subgraph density. II. Sparse and dense sets in cographs