### LeetCode

LeetCode上部分题目的解答

4 已关注
138篇博文
• #### 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...

3天前 14:13
12
• #### 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...

3天前 13:26
15
• #### LeetCode 435 Non-overlapping Intervals (贪心)

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

3天前 09:34
17
• #### 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
94
• #### 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
77
• #### 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
76
• #### LeetCode 646 Maximum Length of Pair Chain (贪心)

LeetCode 646 Maximum Length of Pair Chain (贪心)

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

LeetCode 735 Asteroid Collision (栈)

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

LeetCode 24 Swap Nodes in Pairs (链表)

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

LeetCode 654 Maximum Binary Tree(递归)

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

LeetCode 257 Binary Tree Paths (DFS)

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

LeetCode 60 Permutation Sequence (数学)

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

LeetCode 152 Maximum Product Subarray (思维)

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

LeetCode 513 Find Bottom Left Tree Value (BFS)

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

LeetCode 101 Symmetric Tree (DFS)

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

LeetCode 523 Continuous Subarray Sum (同余)

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

LeetCode 496 Next Greater Element I

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

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

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

LeetCode 86 Partition List (链表)

2017-07-13 13:56
509
• #### LeetCode 189 Rotate Array (思维)

LeetCode 189 Rotate Array (思维)

2017-07-13 13:28
379

Java学习笔记
1011930

5135173