哈希表
onlyou2030
内心仰望理想的人都在埋头苦干!
展开
-
leetcode 49:Group Anagrams
题目: Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [ ["ate", "eat","tea"], ["nat","tan"], ["bat"] ]原创 2015-11-10 22:40:16 · 232 阅读 · 0 评论 -
leetcode 76:Minimum Window Substring
题目: Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum windo原创 2015-11-26 22:39:31 · 282 阅读 · 0 评论