### LeetCode

LeetCode上部分题目的解答

5 已关注
139篇博文
• #### LeetCode 658 Find K Closest Elements (二分)

Given a sorted array, two integers k and x, find the k closest elements to x in the array. The resul...

2018-08-28 16:56
42
• #### LeetCode 769 Max Chunks To Make Sorted

Given an array arr that is a permutation of [0, 1, ..., arr.length - 1], we split the array into som...

2018-03-16 14:13
128
• #### LeetCode 454 4Sum II (二分)

Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such t...

2018-03-16 13:26
126
• #### LeetCode 435 Non-overlapping Intervals (贪心)

Given a collection of intervals, find the minimum number of intervals you need to remove to make the...

2018-03-16 09:34
133
• #### LeetCode 334 Increasing Triplet Subsequence （两种方法）

Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the ar...

2018-01-30 13:23
145
• #### LeetCode 2 Add Two Numbers (链表)

You are given two non-empty linked lists representing two non-negative integers. The digits are stor...

2018-01-16 13:55
127
• #### LeetCode 41 First Missing Positive (思维)

Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,...

2018-01-15 14:18
118
• #### LeetCode 646 Maximum Length of Pair Chain (贪心)

LeetCode 646 Maximum Length of Pair Chain (贪心)

2017-12-26 13:52
408
• #### LeetCode 735 Asteroid Collision (栈)

LeetCode 735 Asteroid Collision (栈)

2017-12-25 13:51
443
• #### LeetCode 24 Swap Nodes in Pairs (链表 递归&&非递归)

LeetCode 24 Swap Nodes in Pairs (链表)

2017-12-18 14:12
149
• #### LeetCode 654 Maximum Binary Tree(递归)

LeetCode 654 Maximum Binary Tree(递归)

2017-10-09 13:20
637
• #### LeetCode 257 Binary Tree Paths (DFS)

LeetCode 257 Binary Tree Paths (DFS)

2017-08-22 13:53
447
• #### LeetCode 60 Permutation Sequence (数学)

LeetCode 60 Permutation Sequence (数学)

2017-08-22 13:32
412
• #### LeetCode 152 Maximum Product Subarray (思维)

LeetCode 152 Maximum Product Subarray (思维)

2017-08-17 09:27
455
• #### LeetCode 513 Find Bottom Left Tree Value (BFS)

LeetCode 513 Find Bottom Left Tree Value (BFS)

2017-08-07 09:22
488
• #### LeetCode 101 Symmetric Tree (DFS)

LeetCode 101 Symmetric Tree (DFS)

2017-08-04 14:09
473
• #### LeetCode 523 Continuous Subarray Sum (同余)

LeetCode 523 Continuous Subarray Sum (同余)

2017-07-14 19:58
697
• #### LeetCode 496 Next Greater Element I

LeetCode 496 Next Greater Element I

2017-07-14 16:55
374
• #### LeetCode 234 Palindrome Linked List (链表 快慢指针)

LeetCode 234 Palindrome Linked List (链表 快慢指针)

2017-07-13 14:48
561
• #### LeetCode 86 Partition List (链表)

LeetCode 86 Partition List (链表)

2017-07-13 13:56
539

Java学习笔记
1117887

6840254