
hash
文章平均质量分 59
yanrui92
这个作者很懒,什么都没留下…
展开
-
leetcode-anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.public class Solution { public List anagrams(String[] strs) { HashM原创 2015-01-19 12:08:09 · 338 阅读 · 0 评论 -
leetcode-two sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, whe原创 2015-01-20 00:51:36 · 257 阅读 · 0 评论