没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐

LeetCode Solutions
Program Creek
Version 0.0

Contents
1 Rotate Array in Java 7
2 Evaluate Reverse Polish Notation 9
3 Solution of Longest Palindromic Substring in Java 11
4 Solution Word Break 15
5 Word Break II 18
6 Word Ladder 20
7 Median of Two Sorted Arrays Java 23
8 Regular Expression Matching in Java 25
9 Merge Intervals 27
10 Insert Interval 29
11 Two Sum 31
12 Two Sum II Input array is sorted 32
13 Two Sum III Data structure design 33
14 3Sum 34
15 4Sum 36
16 3Sum Closest 38
17 String to Integer (atoi) 39
18 Merge Sorted Array 40
19 Valid Parentheses 42
20 Implement strStr() 43
2 | 181

Contents
21 Set Matrix Zeroes 44
22 Search Insert Position 46
23 Longest Consecutive Sequence Java 47
24 Valid Palindrome 49
25 Spiral Matrix 52
26 Search a 2D Matrix 55
27 Rotate Image 56
28 Triangle 58
29 Distinct Subsequences Total 60
30 Maximum Subarray 62
31 Maximum Product Subarray 63
32 Remove Duplicates from Sorted Array 64
33 Remove Duplicates from Sorted Array II 67
34 Longest Substring Without Repeating Characters 69
35 Longest Substring Which Contains 2 Unique Characters 71
36 Palindrome Partitioning 73
37 Reverse Words in a String 75
38 Find Minimum in Rotated Sorted Array 76
39 Find Minimum in Rotated Sorted Array II 77
40 Find Peak Element 78
41 Min Stack 79
42 Majority Element 80
43 Combination Sum 82
44 Best Time to Buy and Sell Stock 83
45 Best Time to Buy and Sell Stock II 84
Program Creek 3 | 181

Contents
46 Best Time to Buy and Sell Stock III 85
47 Best Time to Buy and Sell Stock IV 86
48 Longest Common Prefix 88
49 Largest Number 89
50 Combinations 90
51 Compare Version Numbers 92
52 Gas Station 93
53 Candy 95
54 Jump Game 96
55 Pascal’s Triangle 97
56 Container With Most Water 98
57 Count and Say 99
58 Repeated DNA Sequences 100
59 Add Two Numbers 101
60 Reorder List 105
61 Linked List Cycle 109
62 Copy List with Random Pointer 111
63 Merge Two Sorted Lists 114
64 Merge k Sorted Lists 116
65 Remove Duplicates from Sorted List 117
66 Partition List 119
67 LRU Cache 121
68 Intersection of Two Linked Lists 124
69 Java PriorityQueue Class Example 125
70 Solution for Binary Tree Preorder Traversal in Java 127
4 | 181 Program Creek

Contents
71 Solution of Binary Tree Inorder Traversal in Java 128
72 Solution of Iterative Binary Tree Postorder Traversal in Java 130
73 Validate Binary Search Tree 131
74 Flatten Binary Tree to Linked List 133
75 Path Sum 134
76 Construct Binary Tree from Inorder and Postorder Traversal 136
77 Convert Sorted Array to Binary Search Tree 137
78 Convert Sorted List to Binary Search Tree 138
79 Minimum Depth of Binary Tree 140
80 Binary Tree Maximum Path Sum 142
81 Balanced Binary Tree 143
82 Symmetric Tree 145
83 Clone Graph Java 146
84 How Developers Sort in Java? 149
85 Solution Merge Sort LinkedList in Java 151
86 Quicksort Array in Java 154
87 Solution Sort a linked list using insertion sort in Java 156
88 Maximum Gap 158
89 Iteration vs. Recursion in Java 160
90 Edit Distance in Java 163
91 Single Number 165
92 Single Number II 166
93 Twitter Codility Problem Max Binary Gap 166
94 Number of 1 Bits 167
95 Reverse Bits 168
Program Creek 5 | 181
剩余181页未读,继续阅读













Allen_5210
- 粉丝: 139
- 资源: 1
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0