Yu-Lun Chiang

1996. The Number of Weak Characters in the Game

題目描述 You are playing a game that contains multiple characters, and each of the characters has two main properties: attack and defense. You are given a 2D integer array properties where properti...

1647. Minimum Deletions to Make Character Frequencies Unique

題目描述 A string s is called good if there are no two different characters in s that have the same frequency. Given a string s, return the minimum number of characters you need to delete to make s...