Problem 2151 · Hard

Maximum Good People Based on Statements

Decide the largest set of people who can all be treated as good when their statements about others are consistent. The visual tries candidate groups and highlights which statements break.

Open the interactive visualisation