Maximum Good People Based on Statements at TuSimple

Hard52.2% acceptance

This problem has 100.0% frequency at TuSimple.

Problem Description

There are two types of persons: * The **good person** : The person who always tells the truth. * The **bad person** : The person who might tell the truth and might lie. You are given a **0-indexed** 2D integer array `statements` of size `n x n` that represents the statements made by `n` peop...

Read full problem and hints

Topics

Also asked at 1 company


More TuSimple Questions

View all TuSimple questions