摘要:
https://leetcode.com/problems/pascals-triangle-ii/#/solutions Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,
阅读全文
posted @ 2017-06-12 21:15
Premiumlab
阅读(137)
推荐(0)
摘要:
https://leetcode.com/problems/merge-two-sorted-lists/#/description Merge two sorted linked lists and return it as a new list. The new list should be m
阅读全文
posted @ 2017-06-12 20:11
Premiumlab
阅读(142)
推荐(0)
摘要:
https://leetcode.com/problems/linked-list-cycle/#/description Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it witho
阅读全文
posted @ 2017-06-12 15:53
Premiumlab
阅读(132)
推荐(0)
摘要:
https://leetcode.com/problems/intersection-of-two-linked-lists/#/description Write a program to find the node at which the intersection of two singly
阅读全文
posted @ 2017-06-12 11:04
Premiumlab
阅读(146)
推荐(0)
摘要:
https://leetcode.com/problems/merge-two-binary-trees/#/description Given two binary trees and imagine that when you put one of them to cover the other
阅读全文
posted @ 2017-06-12 08:25
Premiumlab
阅读(415)
推荐(0)
摘要:
https://leetcode.com/problems/first-unique-character-in-a-string/#/description Given a string, find the first non-repeating character in it and return
阅读全文
posted @ 2017-06-11 21:46
Premiumlab
阅读(96)
推荐(0)
摘要:
https://leetcode.com/problems/min-stack/#/solutions Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
阅读全文
posted @ 2017-06-10 20:56
Premiumlab
阅读(146)
推荐(0)
摘要:
https://leetcode.com/problems/valid-anagram/#/description Given two strings s and t, write a function to determine if t is an anagram of s. For exampl
阅读全文
posted @ 2017-06-10 17:33
Premiumlab
阅读(129)
推荐(0)
摘要:
https://leetcode.com/problems/find-all-anagrams-in-a-string/#/description Given a string s and a non-empty string p, find all the start indices of p's
阅读全文
posted @ 2017-06-10 10:45
Premiumlab
阅读(207)
推荐(0)
摘要:
https://leetcode.com/problems/third-maximum-number/#/description Given a non-empty array of integers, return the third maximum number in this array. I
阅读全文
posted @ 2017-06-09 12:45
Premiumlab
阅读(135)
推荐(0)