1996. The Number of Weak Characters in the Game
Medium
Input: properties = [[5,5],[6,3],[3,6]]
Output:
0
Explanation:
No character has strictly greater attack and defense than the other.Input: properties = [[2,2],[3,3]]
Output:
1
Explanation:
The first character is weak because the second character has a strictly greater attack and defense.Last updated