LC 49. Group Anagrams 2024年12月29日 LeetCode Top Interview 150 LC 49. Group Anagrams https://leetcode.com/problems/group-anagrams/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: vector<vector<string>> groupAnagrams(vector<string&
LC 290. Word Pattern 2024年12月29日 LeetCode Top Interview 150 LC 290. Word Pattern https://leetcode.com/problems/word-pattern/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: bool wordPattern(string pattern, string s) { unordered_map<char, string&
LC 289. Game of Life 2024年12月29日 LeetCode LC 289. Game of Life https://leetcode.com/problems/game-of-life/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: int dr[8] = {-1, -1, -1, 0, 0, 1, 1, 1}
LC 30. Substring with Concatenation of All Words 2024年12月29日 LeetCode Top Interview 150 LC 30. Substring with Concatenation of All Words https://leetcode.com/problems/substring-with-concatenation-of-all-words/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: vector<int> findSubstring(string s, vector<string>
LC 209. Minimum Size Subarray Sum 2024年12月26日 LeetCode Top Interview 150 LC 209. Minimum Size Subarray Sum https://leetcode.com/problems/minimum-size-subarray-sum/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: int minSubArrayLen(int target, vector<int>& nums) { int