摘要:
https://leetcode.com/problems/3sum/#/description Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all uni
阅读全文
posted @ 2017-07-03 23:28
Premiumlab
阅读(104)
推荐(0)
摘要:
https://leetcode.com/problems/meeting-rooms-ii/#/solutions Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2]
阅读全文
posted @ 2017-06-25 17:02
Premiumlab
阅读(132)
推荐(0)
摘要:
https://leetcode.com/problems/decode-ways/#/description A message containing letters from A-Z is being encoded to numbers using the following mapping:
阅读全文
posted @ 2017-06-23 21:09
Premiumlab
阅读(167)
推荐(0)
摘要:
https://leetcode.com/problems/letter-combinations-of-a-phone-number/#/description Given a digit string, return all possible letter combinations that t
阅读全文
posted @ 2017-06-22 22:41
Premiumlab
阅读(159)
推荐(0)
摘要:
https://leetcode.com/problems/binary-tree-vertical-order-traversal/#/description Given a binary tree, return the vertical order traversal of its nodes
阅读全文
posted @ 2017-06-19 20:09
Premiumlab
阅读(139)
推荐(0)
摘要:
https://leetcode.com/problems/sparse-matrix-multiplication/#/description Given two sparse matrices A and B, return the result of AB. You may assume th
阅读全文
posted @ 2017-06-18 21:10
Premiumlab
阅读(134)
推荐(0)
摘要:
https://leetcode.com/problems/sparse-matrix-multiplication/#/description Given two sparse matrices A and B, return the result of AB. You may assume th
阅读全文
posted @ 2017-06-18 21:10
Premiumlab
阅读(128)
推荐(0)
摘要:
https://leetcode.com/problems/maximum-size-subarray-sum-equals-k/#/description Given an array nums and a target value k, find the maximum length of a
阅读全文
posted @ 2017-06-18 09:54
Premiumlab
阅读(194)
推荐(0)
摘要:
https://leetcode.com/problems/k-diff-pairs-in-an-array/#/description Given an array of integers and an integer k, you need to find the number of uniqu
阅读全文
posted @ 2017-06-14 21:09
Premiumlab
阅读(421)
推荐(0)
摘要:
https://leetcode.com/problems/repeated-substring-pattern/#/description Given a non-empty string check if it can be constructed by taking a substring o
阅读全文
posted @ 2017-06-13 22:28
Premiumlab
阅读(166)
推荐(0)