### LeetCode

3 已关注
80篇博文
• #### LeetCode[Bitwise]----Bitwise AND of Numbers Range

Bitwise AND of Numbers Range Given a range [m, n] where 0 For example, given the range [5, 7], y...

2016-05-02 23:40
597
• #### LeetCode[Stack]----Min Stack&Stack&Queue

整理一下LeetCode上三道与栈有关的题，分别是Implement Queue using Stacks，Implement Stack using Queues和Min Stack。 ...

2016-04-30 15:25
3474
• #### LeetCode[Design]----Peeking Iterator

Peeking Iterator Given an Iterator class interface with methods: next() and hasNext(), design...

2016-04-22 21:11
1922
• #### LeetCode[Math]----Excel Sheet Column Title----Excel Sheet Column Number

Excel Sheet Column Title Given a positive integer, return its corresponding column title as app...

2016-04-22 16:28
1198
• #### LeetCode[Array]---- 4Sum

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

2016-04-19 11:28
657
• #### LeetCode[Array]----3Sum Closest

3Sum Closest   Given an array S of n integers, find three integers in S such that the sum is...

2016-04-19 10:03
612
• #### LeetCode[Array]----3Sum

3Sum Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Fi...

2016-04-18 21:20
536
• #### LeetCode----Lowest Common Ancestor of a Binary Tree

Lowest Common Ancestor of a Binary Tree Given a binary tree, find the lowest common ancestor ...

2016-03-08 14:44
458
• #### LeetCode----Lowest Common Ancestor of a Binary Search Tree

Lowest Common Ancestor of a Binary Search Tree Given a binary search tree (BST), find the lowes...

2016-03-08 14:00
375
• #### LeetCode----Remove Nth Node From End of List

Remove Nth Node From End of List Given a linked list, remove the nth node from the end of lis...

2016-02-29 09:19
398
• #### LeetCode----Maximum Product Subarray

Maximum Product Subarray Find the contiguous subarray within an array (containing at least on...

2016-02-27 15:44
462
• #### LeetCode----Product of Array Except Self

Product of Array Except Self Given an array of n integers where n > 1, nums, return an arra...

2016-02-26 21:05
456
• #### LeetCode----Isomorphic Strings

Isomorphic Strings Given two strings s and t, determine if they are isomorphic. Two string...

2015-12-02 09:05
421
• #### LeetCode----Insertion Sort List

Insertion Sort List Sort a linked list using insertion sort. 分析： 使用插入排序对链表进行排序。 可以新建一个带头...

2015-11-14 17:16
407
• #### LeetCode----Sort List

Sort List Sort a linked list in O(n log n) time using constant space complexity. 分析： 给链...

2015-11-14 15:42
396
• #### LeetCode----Happy Number

Happy Number Write an algorithm to determine if a number is "happy". A happy number is a n...

2015-11-11 10:21
442
• #### LeetCode----Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such tha...

2015-11-10 18:46
393
• #### LeetCode----Generate Parentheses

Generate Parentheses Given n pairs of parentheses, write a function to generate all combinati...

2015-11-10 15:59
1023
• #### LeetCode----Sort Colors

Sort Colors   Given an array with n objects colored red, white or blue, sort them so that objects...

2015-09-10 08:10
364
• #### LeetCode----First Missing Positive

First Missing Positive Given an unsorted integer array, find the first missing positive integer. ...

2015-09-09 19:50
373