Available question text
Given an n×n matrix of statements where "good" people always tell the truth and "bad" people can lie, find the largest set of people that can be labeled good such that every statement made by any labeled-good person is consistent with those labels. Core challenge: check consistency for each candidate subset (bitmask/subset enumeration) and maximize the number of goods.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2151. Maximum Good People Based on Statements
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source