### hwb1992之LeetCode题解

hwb的LeetCode

0 已关注
14篇博文
• #### LeetCode|Substring with Concatenation of All Words

题目 You are given a string, S, and a list of words, L, that are all of the same length. Find all s...

2014-04-23 14:43
795
• #### LeetCode|Anagrams

题目 Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will...

2014-04-20 22:25
648
• #### LeetCode|Evaluate Reverse Polish Notation

题目 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are ...

2014-04-20 21:26
631
• #### LeetCode|Permutations II

题目 Given a collection of numbers that might contain duplicates, return all possible unique permutat...

2014-04-20 20:31
555
• #### LeetCode|Permutations

题目 Given a collection of numbers, return all possible permutations. For example, [1,2,3] have t...

2014-04-16 21:54
620
• #### LeetCode|Linked List Cycle II

题目 Given a linked list, return the node where the cycle begins. If there is no cycle, return nul...

2014-04-12 20:05
1728

题目 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without ...

2014-04-12 14:46
651

题目 You are given two linked lists representing two non-negative numbers. The digits are stored in...

2014-04-12 13:26
680

题目 Given two binary strings, return their sum (also a binary string). For example, a = "11" ...

2014-04-11 22:10
606
• #### LeetCode|4SUM

题目 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c +...

2014-04-09 21:05
634
• #### LeetCode|3SUM Closest

题目 Given an array S of n integers, find three integers in S such that the sum is closest to a giv...

2014-04-09 16:38
652
• #### LeetCode|3SUM

题目 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find al...

2014-04-09 13:04
705
• #### LeetCode|2Sum

题目 Given an array of integers, find two numbers such that they add up to a specific target number. ...

2014-04-07 22:27
613
• #### LeetCode|Search a 2D Matrix

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the foll...

2014-04-07 20:00
645