Example 1
Example 2
n == quiet.length1 <= n <= 5000 <= quiet[i] < nAll the values of quiet are unique.0 <= richer.length <= n * (n - 1) / 20 <= ai, bi < nai != biAll the pairs of richer are unique.The observations in richer are all logically consistent.Example 1
Example 2
n == quiet.length1 <= n <= 5000 <= quiet[i] < nAll the values of quiet are unique.0 <= richer.length <= n * (n - 1) / 20 <= ai, bi < nai != biAll the pairs of richer are unique.The observations in richer are all logically consistent.