Skip to content

Java Solutions to problems on LintCode/LeetCode

Notifications You must be signed in to change notification settings

rxia24/LintCode

 
 

Repository files navigation

Java Algorithm Problems

程序员的一天

从开始这个Github已经有将近两年时间, 很高兴这个repo可以帮到有需要的人. 我一直认为, 知识本身是无价的, 因此每逢闲暇, 我就会来维护这个repo, 给刷题的朋友们一些我的想法和见解. 下面来简单介绍一下这个repo:

README.md: 所有所做过的题目

ReviewPage.md: 所有题目的总结和归纳(不断完善中)

KnowledgeHash2.md: 对所做过的知识点的一些笔记

SystemDesign.md: 对系统设计的一些笔记

Future Milestone: 我准备将一些有意思的题目,做成视频的形式给大家参考

希望大家学习顺利, 对未来充满希望(程序员也是找到好老板的!) 有问题可以给我写邮件(wangdeve@gmail.com), 或者在GitHub上发issue给我.

Squence Problem Level Language Tags Video Tutorial
0 Anagrams.java Medium Java []
1 Binary Representation.java Hard Java []
2 Binary Tree Level Order Traversal II.java Medium Java []
3 Binary Tree Level Order Traversal.java Medium Java []
4 Binary Tree Longest Consecutive Sequence.java Medium Java []
5 Binary Tree Maximum Path Sum II.java Medium Java []
6 Binary Tree Right Side View.java Medium Java []
7 Binary Tree Serialization.java Medium Java []
8 Binary Tree Zigzag Level Order Traversal.java Medium Java []
9 ColorGrid.java Medium Java []
10 Combination Sum II.java Medium Java []
11 Combination Sum.java Medium Java []
12 Combinations.java Medium Java []
13 Construct Binary Tree from Inorder and Postorder Traversal.java Medium Java []
14 Container With Most Water.java Medium Java []
15 Convert Binary Search Tree to Doubly Linked List.java Medium Java [BST]
16 Convert Expression to Polish Notation.java Hard Java []
17 Convert Expression to Reverse Polish Notation.java Hard Java []
18 Copy List with Random Pointer.java Medium Java []
19 Count of Smaller Number before itself.java Hard Java []
20 Count of Smaller Number.java Medium Java []
21 Count Primes.java Easy Java []
22 Delete Digits.java Medium Java []
23 Delete Node in the Middle of Singly Linked List.java Easy Java []
24 Encode and Decode Strings.java Medium Java []
25 ExcelSheetColumnNumber .java Easy Java []
26 Expression Evaluation.java Hard Java []
27 Expression Tree Build.java Hard Java []
28 Fast Power.java Medium Java []
29 Fibonacci.java Easy Java []
30 Find the Connected Component in the Undirected Graph.java Medium Java []
31 Find the Weak Connected Component in the Directed Graph.java Medium Java []
32 First Missing Positive.java N/A Java []
33 Flatten 2D Vector.java Medium Java []
34 Flip Game II.java Medium Java []
35 Flip Game.java Easy Java []
36 Fraction to Recurring Decimal.java Medium Java []
37 Gas Station.java N/A Java []
38 Generate Parentheses.java Medium Java []
39 Gray Code.java Medium Java []
40 Group Anagrams.java Medium Java []
41 Group Shifted Strings.java Easy Java []
42 H-Index II.java Medium Java []
43 H-Index.java Medium Java []
44 Hamming Distance.java Easy Java []
45 Happy Number.java Easy Java []
46 Hash Function.java Easy Java []
47 HashHeap.java Hard Java []
48 HashWithArray.java Easy Java []
49 HashWithCustomizedClass(LinkedList).java Medium Java []
50 Heapify.java Medium Java []
51 Heaters.java Easy Java []
52 Identical Binary Tree.java Easy Java []
53 Implement Queue by Two Stacks.java N/A Java []
54 Implement Stack by Two Queues.java Easy Java []
55 Implement Stack using Queues.java Easy Java []
56 Implement Stack.java Easy Java []
57 Implement strStr().java N/A Java []
58 Implement Trie (Prefix Tree).java Medium Java []
59 IndexMatch.java Easy Java []
60 Inorder Successor in Binary Search Tree.java Medium Java [BST]
61 Insert Interval.java Easy Java []
62 Insert Node in a Binary Search Tree .java Easy Java [BST]
63 Insertion Sort List.java N/A Java []
64 Integer to English Words.java N/A Java []
65 Interleaving Positive and Negative Numbers.java N/A Java []
66 Intersection of Two Arrays.java Easy Java []
67 Intersection of Two Linked Lists.java Easy Java []
68 Interval Minimum Number.java Medium Java []
69 Interval Sum II.java Hard Java []
70 Interval Sum.java Medium Java []
71 Invert Binary Tree.java Easy Java []
72 Isomorphic Strings.java Easy Java []
73 Jump Game II.java Hard Java []
74 Kth Largest Element.java Medium Java []
75 Kth Smallest Element in a BST.java Medium Java [BST]
76 Kth Smallest Sum In Two Sorted Arrays.java Hard Java []
77 Largest Number.java N/A Java []
78 Last Position of Target.java N/A Java []
79 Length of Last Word.java N/A Java []
80 Longest Common Prefix.java Medium Java []
81 Longest Common Substring.java N/A Java []
82 Longest Consecutive Sequence.java N/A Java []
83 Longest Increasing Continuous subsequence II.java N/A Java []
84 Longest Increasing Continuous subsequence.java Easy Java []
85 Longest Palindromic Substring.java Medium Java []
86 Longest Univalue Path.java Easy Java []
87 Longest Word in Dictionary.java Easy Java []
88 Longest Words.java N/A Java []
89 Lowest Common Ancestor II.java Easy Java []
90 Lowest Common Ancestor of a Binary Search Tree.java Medium Java []
91 Lowest Common Ancestor.java Easy Java []
92 LRU Cache.java Hard Java []
93 Majority Number II.java Medium Java []
94 Majority Number III.java Medium Java []
95 Matrix Zigzag Traversal.java Easy Java []
96 Max Area of Island.java Easy Java []
97 Maximum Depth of Binary Tree.java Easy Java []
98 Maximum Subarray III.java N/A Java []
99 Maximum Subarray.java Easy Java []
100 Maximum SubarrayII.java N/A Java []
101 MaximumSubarrayII.java N/A Java []
102 Median of two Sorted Arrays.java Hard Java []
103 Median.java N/A Java []
104 Merge Intervals.java Easy Java []
105 Merge k Sorted Arrays.java Medium Java []
106 Merge k Sorted Lists.java Medium Java []
107 Merge Sorted Array II.java N/A Java []
108 Merge Sorted Array.java Easy Java []
109 Merge Two Binary Trees.java Easy Java []
110 Merge Two Sorted Lists.java Easy Java []
111 Middle of Linked List.java N/A Java []
112 Minimum Absolute Difference in BST.java Easy Java [BST]
113 Minimum Height Trees.java N/A Java []
114 Minimum Subarray.java N/A Java []
115 MinimumDepthOfBinaryTree.java Easy Java []
116 Missing Ranges.java N/A Java []
117 Multiply Strings.java Medium Java []
118 Next Permutation.java Medium Java []
119 NQueens.java N/A Java []
120 NQueensII.java N/A Java []
121 Nth to Last Node in List.java N/A Java []
122 Number Triangles.java N/A Java []
123 O(1) Check Power of 2.java N/A Java []
124 Paint Fence.java N/A Java []
125 Palindrome Linked List.java N/A Java []
126 Palindrome Partitioning.java N/A Java []
127 Palindrome Permutation II.java Medium Java []
128 Palindrome Permutation.java Easy Java []
129 Partition Array by Odd and Even.java N/A Java []
130 Partition Array.java N/A Java []
131 Partition List.java N/A Java []
132 Pascal's Triangle II.java Easy Java []
133 Peeking Iterator.java Medium Java [BST]
134 Permutation Index.java Easy Java []
135 Permutation Sequence.java Medium Java []
136 Permutations II.java Medium Java []
137 Permutations.java Medium Java []
138 Populating Next Right Pointers in Each Node II.java Hard Java []
139 Product of Array Exclude Itself.java N/A Java []
140 QuickSort.java Easy Java []
141 Recover Rotated Sorted Array.java N/A Java []
142 Rehashing.java Medium Java []
143 Remove Duplicates from Sorted Array.java Easy Java []
144 Remove Duplicates from Sorted List II.java N/A Java []
145 Remove Duplicates from Sorted List.java Easy Java []
146 Remove Duplicates from Unsorted List.java N/A Java []
147 Remove Invalid Parentheses.java Hard Java []
148 Remove Linked List Elements.java N/A Java []
149 Remove Node in Binary Search Tree.java Hard Java [BST]
150 Reorder List.java N/A Java []
151 Reshape the Matrix.java Easy Java []
152 Restore IP Addresses.java N/A Java []
153 Reverse Linked List II .java N/A Java []
154 Reverse Linked List.java Easy Java []
155 Reverse String.java Easy Java []
156 Reverse Words in a String II.java Medium Java []
157 Reverse Words in a String.java Medium Java []
158 Roman to Integer.java Easy Java []
159 Rotate Image.java Medium Java []
160 Rotate List.java N/A Java []
161 Rotate String.java N/A Java []
162 Russian Doll Envelopes.java N/A Java []
163 Search a 2D Matrix II.java N/A Java []
164 Search a 2D Matrix.java N/A Java []
165 Search for a Range.java N/A Java []
166 Search Insert Position.java N/A Java []
167 Search Range in Binary Search Tree .java Medium Java [BST]
168 Search Rotated in Sorted Array II.java N/A Java []
169 Search Rotated in Sorted Array.java Hard Java []
170 Segment Tree Build II.java Medium Java []
171 Segment Tree Build.java Medium Java []
172 Segment Tree Modify.java Medium Java []
173 Segment Tree Query II.java Medium Java []
174 Segment Tree Query.java Medium Java []
175 Serilization and Deserialization Of Binary Tree.java N/A Java []
176 Shortest Word Distance.java Easy Java []
177 Single Number II.java N/A Java []
178 Single Number III.java N/A Java []
179 Single Number.java Easy Java []
180 Singleton.java N/A Java []
181 Sliding Window Maximum.java N/A Java []
182 Sort Color.java N/A Java []
183 Sort Colors II.java N/A Java []
184 Sort Letters by Case.java N/A Java []
185 Sort List.java N/A Java []
186 Space Replacement.java N/A Java []
187 Stone Game.java N/A Java []
188 String Permutation.java Easy Java []
189 String to Integer(atoi).java Easy Java []
190 Strobogrammatic Number II.java Medium Java []
191 Strobogrammatic Number.java Easy Java []
192 StrStr.java N/A Java []
193 Subarray Sum Closest.java Medium Java []
194 Subarray Sum.java Easy Java []
195 Subset.java Medium Java []
196 Subsets II.java Medium Java []
197 Subtree.java Easy Java []
198 Summary Ranges.java N/A Java []
199 Symmetric Binary Tree.java Easy Java []
200 The Smallest Difference.java N/A Java []
201 Top K Frequent Elements.java Medium Java []
202 Top K Frequent Words.java Medium Java []
203 Topological Sorting.java Medium Java []
204 Total Occurrence of Target.java N/A Java []
205 Trailing Zeros.java N/A Java []
206 Tweaked Identical Binary Tree.java Easy Java []
207 Two Lists Sum.java N/A Java []
208 Two Strings Are Anagrams.java Easy Java []
209 Ugly Number II.java N/A Java []
210 Ugly Number.java Medium Java []
211 Unique Binary Search Tree II.java Medium Java [BST]
212 Unique Characters.java N/A Java []
213 Unique Word Abbreviation.java N/A Java []
214 Valid Palindrome.java Easy Java []
215 Valid Parentheses.java Easy Java []
216 Valid Sudoku.java Easy Java []
217 Word Break.java Medium Java []
218 Word Ladder II.java Hard Java []
219 Word Ladder.java Medium Java []
220 Word Pattern.java Easy Java []
221 Zigzag Iterator.java Medium Java [BST]
222 Find Anagram Mappings.java Easy Java [Hash Table]
223 Judge Route Circle.java Easy Java [String]
224 Island Perimeter.java Easy Java [Hash Table]
225 First Unique Character in a String.java Easy Java [Hash Table, String]
226 Power of Three.java Easy Java [Math]
227 Plus One.java Easy Java [Array, Math]
228 Power of Two.java Easy Java [Bit Manipulation, Math]
229 Reverse Vowels of a String.java Easy Java [String, Two Pointers]
230 Guess Number Higher or Lower.java Easy Java [Binary Search]
231 Encode and Decode TinyURL.java Medium Java [Hash Table, Math]
232 Wiggle Sort.java Medium Java [Array, Sort]
233 Queue Reconstruction by Height.java Medium Java [Greedy]
234 2 Sum.java Easy Java [Array, Hash Table]
235 2 Sum II - Input array is sorted.java Medium Java [Array, Binary Search, Two Pointers]
236 2 Sum II.java Medium Java [Array, Binary Search, Two Pointers]
237 Coin Change.java Medium Java [DP, Memoization, Sequence DP]
238 Maximum Product Subarray.java Medium Java [Array, DP]
239 3 Sum Closest.java Medium Java [Array, Two Pointers]
240 Triangle Count.java Medium Java [Array]
241 3 Sum.java Medium Java [Array, Two Pointers]
242 4 Sum.java Medium Java [Hash Table]
243 k Sum.java Hard Java [DP]
244 Longest Increasing Subsequence.java Medium Java [Binary Search, DP, Memoization, Sequence DP]
245 Unique Binary Search Tree.java Medium Java [BST, DP, Tree]
246 Trim a Binary Search Tree.java Easy Java [BST, Tree]
247 Unique Paths II.java Medium Java [Array, Coordinate DP, DP]
248 Bomb Enemy.java Medium Java [Coordinate DP, DP]
249 3 Sum Smaller.java Medium Java [Array, Two Pointers]
250 Array Partition I.java Easy Java [Array]
251 1-bit and 2-bit Characters.java Easy Java [Array]
252 Non-decreasing Array.java Easy Java [Array]
253 Max Consecutive Ones.java Easy Java [Array]
254 Find All Numbers Disappeared in an Array.java Easy Java [Array]
255 Maximum Average Subarray I.java Easy Java [Array]
256 Largest Number At Least Twice of Others.java Easy Java [Array]
257 Toeplitz Matrix.java Easy Java [Array]
258 Backpack.java Medium Java [DP]
259 Sum of Two Integers.java Easy Java [Bit Manipulation]
260 Swap Bits.java Easy Java [Bit Manipulation]
261 Update Bits.java Medium Java [Bit Manipulation]
262 Maximum XOR of Two Numbers in an Array.java Medium Java [Bit Manipulation, Trie]
263 Perfect Squares.java Medium Java [BFS, DP, Math]
264 Palindrome Partitioning II.java Hard Java [DP]
265 Backpack V.java Medium Java [DP]
266 Backpack VI.java Medium Java [DP]
267 Copy Books.java Hard Java [Binary Search, DP]
268 Valid Perfect Square.java Review Java [Binary Search, Math]
269 Intersection of Two Arrays II.java Easy Java [Binary Search, Hash Table, Sort, Two Pointers]
270 Backpack II.java Medium Java [DP]
271 Backpack III.java Review Java [DP]
272 Longest Palindromic Subsequence.java Medium Java [DP]
273 Scramble String.java Hard Java [DP, Range DP, String]
274 Binary Search Tree Iterator.java Medium Java [BST, Design, Stack, Tree]
275 Flatten Nested List Iterator.java Medium Java [Design, Stack]
276 Best Time to Buy and Sell Stock with Cooldown.java Medium Java [DP]
277 Find Peak Element.java Medium Java [Array, Binary Search]
278 Longest Common Subsequence.java Medium Java [DP, Double Sequence DP]
279 Interleaving String.java Hard Java [DP, String]
280 Letter Combinations of a Phone Number.java Medium Java [Backtracking, String]
281 Edit Distance.java Hard Java [DP, Double Sequence DP, String]
282 Distinct Subsequences.java Hard Java [DP, String]
283 Regular Expression Matching.java Review Java [Backtracking, DP, String]
284 Majority Element.java Easy Java [Array, Bit Manipulation, Divide and Conquer]
285 Wildcard Matching.java Hard Java [Backtracking, DP, Greedy, String]
286 Ones and Zeroes.java Hard Java [DP]
287 Pow(x,n).java Medium Java [Binary Search, Math]
288 Word Break II.java Review Java [Backtracking, DP]
289 Nested List Weight Sum.java Easy Java [DFS]
290 Same Tree.java Easy Java [DFS, Tree]
291 Convert Sorted Array to Binary Search Tree.java Easy Java [DFS, Tree]
292 Binary Tree Maximum Path Sum.java Review Java [DFS, Tree]
293 Construct Binary Tree from Inorder and Preorder Traversal.java Medium Java [Array, DFS, Tree]
294 Path Sum.java Easy Java [DFS, Tree]
295 Add Binary.java Easy Java [Math, String]
296 Add Digits.java Easy Java [Math]
297 Add Two Numbers.java Medium Java [Linked List, Math]
298 Add Two Numbers II.java Medium Java [Linked List]
299 Balanced Binary Tree.java Medium Java [DFS, Tree]
300 Valid Anagram.java Easy Java [Hash Table, Sort]
301 Populating Next Right Pointers in Each Node.java Medium Java [DFS, Tree]
302 Validate Binary Search Tree.java Medium Java [BST, DFS, Tree]
303 Convert Sorted List to Binary Search Tree.java Medium Java [DFS, Linked List]
304 Flatten Binary Tree to Linked List.java Medium Java [Binary Tree, DFS]
305 Binary Tree Paths.java Easy Java [Binary Tree, DFS]
306 Minimum Size Subarray Sum.java Medium Java [Array, Binary Search, Two Pointers]
307 Clone Graph.java Medium Java [BFS, DFS, Graph]
308 Longest Substring Without Repeating Characters.java Medium Java [Hash Table, String, Two Pointers]
309 Minimum Window Substring.java Hard Java [Hash Table, String, Two Pointers]
310 Linked List Cycle.java Easy Java [Linked List, Two Pointers]
311 Remove Nth Node From End of List.java Medium Java [Linked List, Two Pointers]
312 Longest Substring with At Most K Distinct Characters.java Medium Java [Hash Table, String]
313 Linked List Cycle II.java Medium Java [Linked List, Two Pointers]
314 Kth Smallest Number in Sorted Matrix.java Medium Java [Binary Search, Heap]
315 Find Minimum in Rotated Sorted Array.java Medium Java [Array, Binary Search]
316 Find Minimum in Rotated Sorted Array II.java Hard Java [Array, Binary Search]
317 Connecting Graph.java Medium Java [Union Find]
318 Connecting Graph II.java Medium Java [Union Find]
319 Connecting Graph III.java Medium Java [Union Find]
320 Number of Islands.java Medium Java [BFS, DFS, Union Find]
321 Number of Islands II.java Hard Java [Union Find]
322 Graph Valid Tree.java Medium Java [BFS, DFS, Graph, Union Find]
323 Surrounded Regions.java Review Java [BFS, DFS, Union Find]
324 Implement Trie.java Medium Java [Design, Trie]
325 Add and Search Word.java Medium Java [Backtracking, Design, Trie]
326 Word Search II.java Hard Java [Backtracking, DFS, Trie]
327 Word Search.java Medium Java [Array, Backtracking]
328 Word Squares.java Hard Java [Backtracking, Trie]
329 Trapping Rain Water.java Hard Java [Array, Stack, Two Pointers]
330 Trapping Rain Water II.java Hard Java [BFS, Heap]
331 Data Stream Median.java Hard Java [Design, Heap]
332 Sliding Window Median.java Hard Java [Design, Heap]
333 Min Stack.java Easy Java [Design, Stack]
334 Implement Queue using Stacks.java Easy Java [Design, Stack]
335 Expression Expand.java Medium Java [DFS, Divide and Conquer, Stack]
336 Largest Rectangle in Histogram.java Hard Java [Array, Monotonous Stack, Stack]
337 Max Tree.java Medium Java [Stack, Tree]
338 Reverse Integer.java Easy Java [Math]
339 Swap Nodes in Pairs.java Medium Java [Linked List]
340 Find Peak Element II.java Hard Java [Binary Search, DFS, Divide and Conquer]
341 Sqrt(x).java Easy Java [Binary Search, Math]
342 First Bad Version.java Easy Java [Binary Search]
343 Wood Cut.java Medium Java [Binary Search]
344 Find the Duplicate Number.java Medium Java [Array, Binary Search, Two Pointers]
345 Palindrome Pairs.java Hard Java [Hash Table, String, Trie]
346 Game of Life.java Medium Java [Array]
347 Maximum Average Subarray II.java Review Java [Array, Binary Search]
348 Meeting Rooms.java Easy Java [Sort, Sweep Line]
349 Number of Airplane in the sky.java Medium Java [Array, Interval, Sort, Sweep Line]
350 Meeting Rooms II.java Medium Java [Greedy, Heap, Sort, Sweep Line]
351 Building Outline.java Review Java [Binary Indexed Tree, Divide and Conquer, Heap, Segment Tree, Sweep Line]
352 Unique Path.java Medium Java [Array, Coordinate DP, DP]
353 Maximal Rectangle.java Hard Java [Array, DP, Hash Table, Stack]
354 Maximal Square.java Medium Java [Coordinate DP, DP]
355 Longest Increasing Path in a Matrix.java Hard Java [DFS, DP, Memoization, Topological Sort]
356 Coins in a Line.java Medium Java [DP, Game Theory, Greedy]
357 Coins in a Line II.java Medium Java [Array, DP, Game Theory, Memoization, MiniMax]
358 Binary Tree Inorder Traversal.java Easy Java [Hash Table, Stack, Tree]
359 Path Sum II.java Easy Java [DFS, Tree]
360 Binary Tree Postorder Traversal.java Medium Java [Stack, Tree, Two Stacks]
361 Change to Anagram.java Easy Java [String]
362 Classical Binary Search.java Easy Java [Binary Search]
363 Climbing Stairs.java Easy Java [DP, Memoization, Sequence DP]
364 Coins in a Line III.java Hard Java [Array, DP, Game Theory, Interval DP, Memoization]
365 Closest Binary Search Tree Value.java Easy Java [BST, Binary Search, Tree]
366 Compare Version Numbers.java Medium Java [String]
367 Count Complete Tree Nodes.java Medium Java [Binary Search, Tree]
368 Course Schedule.java Medium Java [BFS, DFS, Graph, Topological Sort]
369 Course Schedule II.java Medium Java [BFS, DFS, Graph, Topological Sort]
370 Alien Dictionary.java Hard Java [BFS, Backtracking, DFS, Graph, Topological Sort]
371 Binary Tree Preorder Traversal.java Easy Java [BFS, DFS, Stack, Tree]
372 Closest Number in Sorted Array.java Easy Java [Binary Search]
373 Complete Binary Tree.java Easy Java [BFS, DFS, Tree]
374 Compare Strings.java Easy Java [String]
375 Contains Duplicate.java Easy Java [Array, Hash Table]
376 Contains Duplicate II.java Easy Java [Array, Hash Table]
377 Contains Duplicate III.java Medium Java [BST]
378 Burst Balloons.java Hard Java [DP, Divide and Conquer, Memoization, Range DP]
379 Nim Game.java Easy Java [Brainteaser, DP, Game Theory]
380 Convert Integer A to Integer B.java Easy Java [Bit Manipulation]
381 Cosine Similarity.java Easy Java [Basic Implementation]
382 Count 1 in Binary.java Easy Java [Bit Manipulation]
383 Count and Say.java Easy Java [Basic Implementation, String]
384 One Edit Distance.java Medium Java [String]
385 K Edit Distance.java Hard Java [DP, Double Sequence DP, Trie]
386 Jump Game.java Medium Java [Array, DP, Greedy]
387 Coin Change 2.java Medium Java [DP, Sequence DP]
388 Paint House.java Easy Java [DP, Sequence DP]
389 Decode Ways.java Medium Java [DP, Partition DP, String]
390 Longest Continuous Increasing Subsequence.java Easy Java [Array, Coordinate DP, DP]
391 Minimum Path Sum.java Medium Java [Array, Coordinate DP, DP]
392 Counting Bits.java Medium Java [Bit Manipulation, Bitwise DP, DP]
393 Continuous Subarray Sum.java Medium Java [Coordinate DP, DP, Math]
394 House Robber.java Easy Java [DP, Sequence DP]
395 House Robber II.java Medium Java [DP, Sequence DP]
396 House Robber III.java Medium Java [DFS, DP, Status DP, Tree]
397 Paint House II.java Hard Java [DP, Sequence DP]
398 Best Time to Buy and Sell Stock I.java Easy Java [Array, DP, Sequence DP]
399 Best Time to Buy and Sell Stock II.java Easy Java [Array, DP, Greedy, Sequence DP]
400 Best Time to Buy and Sell Stock III .java Hard Java [Array, DP, Sequence DP]
401 Best Time to Buy and Sell Stock IV.java Hard Java [DP, Sequence DP]

About

Java Solutions to problems on LintCode/LeetCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%