摘要:
Given an array of strings, group anagrams together. Example: 题意: 给定一堆单词,把变位词放一块儿去。 碎碎念: 开始想说“eat” 转charArray {'e', 'a', 't'} “tea” 转charArray {'t', 'e 阅读全文
摘要:
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb 阅读全文
摘要:
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文