Available question text
Count how many characters (attack, defense) are strictly dominated by another character with both attack and defense greater. With up to 1e5 pairs this requires better than O(n^2) — a common approach is to sort by attack and scan while tracking the best defense seen to identify dominated pairs.
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 1996. The Number of Weak Characters in the Game
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source