Help talk:Trolls on wheels!

From Algorithm Wiki
Revision as of 09:04, 4 December 2014 by Ridgemcghee (Talk | contribs)

Jump to: navigation, search

The first counterexample shown is incorrect as greedy would get an optimal solution (2 sets). First, greedy would choose S3 since it contains 10 uncovered elements. However, then, greedy would choose S4 since it contains 6 uncovered elements (not s2 since it only contains 4 uncovered elements). The union of s3 and s4 cover all elements (2 sets).

However, there is a solution counterexample (see counterexample 2).