You are playing a game with multiple characters. You are given a properties where properties[i]
A character is considered weak if there exists another character that has both strictly greater attack and strictly greater defense.
Return the total number of weak characters.
Constraints:
properties.length
properties[i].length
You are playing a game with multiple characters. You are given a properties where properties[i]
A character is considered weak if there exists another character that has both strictly greater attack and strictly greater defense.
Return the total number of weak characters.
Constraints:
properties.length
properties[i].length