摘要:
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
阅读(138)
推荐(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
阅读(144)
推荐(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
阅读(138)
推荐(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
阅读(149)
推荐(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
阅读(418)
推荐(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
阅读(101)
推荐(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
阅读(147)
推荐(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
阅读(134)
推荐(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
阅读(208)
推荐(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
阅读(139)
推荐(0)