leetcode.cn 2025-10-13
🟢2273.find-resultant-array-after-removing-anagrams
🏷️ Tags
#array #hash_table #string #sorting
🟢2273.find-resultant-array-after-removing-anagrams
🏷️ Tags
#array #hash_table #string #sorting
Telegraph
find-resultant-array-after-removing-anagrams
给你一个下标从 0 开始的字符串 words ,其中 words[i] 由小写英文字符组成。 在一步操作中,需要选出任一下标 i ,从 words 中 删除 words[i] 。其中下标 i 需要同时满足下述两个条件:
leetcode.com 2025-10-13
🟢2273.find-resultant-array-after-removing-anagrams
🏷️ Tags
#array #hash_table #string #sorting
🟢2273.find-resultant-array-after-removing-anagrams
🏷️ Tags
#array #hash_table #string #sorting
Telegraph
find-resultant-array-after-removing-anagrams
You are given a 0-indexed string array words, where words[i] consists of lowercase English letters. In one operation, select any index i such that 0 < i < words.length and words[i - 1] and words[i] are anagrams, and delete words[i] from words. Keep performing…
leetcode.cn 2025-10-21
🟡3346.maximum-frequency-of-an-element-after-performing-operations-i
🏷️ Tags
#array #binary_search #prefix_sum #sorting #sliding_window
🟡3346.maximum-frequency-of-an-element-after-performing-operations-i
🏷️ Tags
#array #binary_search #prefix_sum #sorting #sliding_window
Telegraph
maximum-frequency-of-an-element-after-performing-operations-i
给你一个整数数组 nums 和两个整数 k 和 numOperations 。 你必须对 nums 执行 操作 numOperations 次。每次操作中,你可以: