Git Product home page Git Product logo

leetcode's Introduction

LeetCode题解

To User:

  1. 你可以在上方选择Fork,复制项目到自己空间。
  2. 你也可以在右上角点击Star点赞。
  3. 欢迎打赏

To contributor:

  1. 题目的commit,请标清Add或者Upddate,例如: Add Q1. Two Sum. 以方便在git history中回看查找最近做的题。
  2. 请使用个人标识,作为文件命名前缀,例如: li.py。 solution前缀答案来自top solution。AC前缀的答案转载自illuz。在此鸣谢。
  3. 请在提交的每一份代码中,适当标注作者,复杂度和代码思路解释。以便于别人交流学习。 每道问题下面的README,只作为提纲挈领,可以加入对文件的引用的代码。例如:[动态规划](yin.cpp)

There are 602 problems. Han has solved 252 problems. Yin has solved 84 problems.

No. Problem Han Yin Note
001 Two Sum         Notes        
002 Add Two Numbers         Notes        
003 Longest Substring Without Repeating Charac...         Notes        
004 Median of Two Sorted Arrays         Notes        
005 Longest Palindromic Substring         Notes        
006 ZigZag Conversion         Notes        
007 Reverse Integer         Notes        
008 String to Integer (atoi)         Notes        
009 Palindrome Number         Notes        
010 Regular Expression Matching         Notes        
011 Container With Most Water         Notes        
012 Integer to Roman         Notes        
013 Roman to Integer         Notes        
014 Longest Common Prefix  Coming soon
015 3Sum         Notes        
016 3Sum Closest         Notes        
017 Letter Combinations of a Phone Number         Notes        
018 4Sum         Notes        
019 Remove Nth Node From End of List         Notes        
020 Valid Parentheses         Notes        
021 Merge Two Sorted Lists         Notes        
022 Generate Parentheses         Notes        
023 Merge k Sorted Lists         Notes        
024 Swap Nodes in Pairs         Notes        
025 Reverse Nodes in k-Group         Notes        
026 Remove Duplicates from Sorted Array         Notes        
027 Remove Element         Notes        
028 Implement strStr()         Notes        
029 Divide Two Integers         Notes        
030 Substring with Concatenation of All Words         Notes        
031 Next Permutation         Notes        
032 Longest Valid Parentheses         Notes        
033 Search in Rotated Sorted Array         Notes        
034 Search for a Range         Notes        
035 Search Insert Position         Notes        
036 Valid Sudoku         Notes        
037 Sudoku Solver         Notes        
038 Count and Say         Notes        
039 Combination Sum         Notes        
040 Combination Sum II         Notes        
041 First Missing Positive  Coming soon
042 Trapping Rain Water  Coming soon
043 Multiply Strings         Notes        
044 Wildcard Matching  Coming soon
045 Jump Game II  Coming soon
046 Permutations         Notes        
047 Permutations II         Notes        
048 Rotate Image  Coming soon
049 Group Anagrams  Coming soon
050 Pow(x,n)  Coming soon
051 N-Queens  Coming soon
052 N-Queens II  Coming soon
053 Maximum Subarray  Coming soon
054 Spiral Matrix  Coming soon
055 Jump Game  Coming soon
056 Merge Intervals         Notes        
057 Insert Interval  Coming soon
058 Length of Last Word  Coming soon
059 Spiral Matrix II  Coming soon
060 Permutation Sequence  Coming soon
061 Rotate List         Notes        
062 Unique Paths  Coming soon
063 Unique Paths II  Coming soon
064 Minimum Path Sum  Coming soon
065 Valid Number  Coming soon
066 Plus One  Coming soon
067 Add Binary  Coming soon
068 Text Justification         Notes        
069 Sqrt(x)  Coming soon
070 Climbing Stairs  Coming soon
071 Simplify Path         Notes        
072 Edit Distance  Coming soon
073 Set Matrix Zeroes  Coming soon
074 Search a 2D Matrix         Notes        
075 Sort Colors  Coming soon
076 Minimum Window Substring         Notes        
077 Combinations  Coming soon
078 Subsets         Notes        
079 Word Search         Notes        
080 Remove Duplicates from Sorted Array II  Coming soon
081 Search in Rotated Sorted Array II  Coming soon
082 Remove Duplicates from Sorted List II  Coming soon
083 Remove Duplicates from Sorted List  Coming soon
084 Largest Rectangle in Histogram         Notes        
085 Maximal Rectangle         Notes        
086 Partition List  Coming soon
087 Scramble String         Notes        
088 Merge Sorted Array  Coming soon
089 Gray Code         Notes        
090 Subsets II         Notes        
091 Decode Ways         Notes        
092 Reverse Linked List II  Coming soon
093 Restore IP Addresses         Notes        
094 Binary Tree Inorder Traversal  Coming soon
095 Unique Binary Search Trees II         Notes        
096 Unique Binary Search Trees         Notes        
097 Interleaving String         Notes        
098 Validate Binary Search Tree         Notes        
099 Recover Binary Search Tree         Notes        
100 Same Tree  Coming soon
101 Symmetric Tree         Notes        
102 Binary Tree Level Order Traversal  Coming soon
103 Binary Tree Zigzag Level Order Traversal         Notes        
104 Maximum Depth of Binary Tree  Coming soon
105 Construct Binary Tree from Preorder and In...         Notes        
106 Construct Binary Tree from Inorder and Pos...         Notes        
107 Binary Tree Level Order Traversal II         Notes        
108 Convert Sorted Array to Binary Search Tree         Notes        
109 Convert Sorted List to Binary Search Tree         Notes        
110 Balanced Binary Tree  Coming soon
111 Minimum Depth of Binary Tree  Coming soon
112 Path Sum  Coming soon
113 Path Sum II  Coming soon
114 Flatten Binary Tree to Linked List         Notes        
115 Distinct Subsequences         Notes        
116 Populating Next Right Pointers in Each Node  Coming soon
117 Populating Next Right Pointers in Each Nod...  Coming soon
118 Pascal's Triangle  Coming soon
119 Pascal's Triangle II  Coming soon
120 Triangle  Coming soon
121 Best Time to Buy and Sell Stock         Notes        
122 Best Time to Buy and Sell Stock II         Notes        
123 Best Time to Buy and Sell Stock III         Notes        
124 Binary Tree Maximum Path Sum         Notes        
125 Valid Palindrome  Coming soon
126 Word Ladder II  Coming soon
127 Word Ladder         Notes        
128 Longest Consecutive Sequence  Coming soon
129 Sum Root to Leaf Numbers  Coming soon
130 Surrounded Regions         Notes        
131 Palindrome Partitioning         Notes        
132 Palindrome Partitioning II         Notes        
133 Clone Graph  Coming soon
134 Gas Station         Notes        
135 Candy  Coming soon
136 Single Number         Notes        
137 Single Number II  Coming soon
138 Copy List with Random Pointer         Notes        
139 Word Break         Notes        
140 Word Break II  Coming soon
141 Linked List Cycle  Coming soon
142 Linked List Cycle II  Coming soon
143 Reorder List  Coming soon
144 Binary Tree Preorder Traversal  Coming soon
145 Binary Tree Postorder Traversal  Coming soon
146 LRU Cache         Notes        
147 Insertion Sort List         Notes        
148 Sort List         Notes        
149 Max Points on a Line  Coming soon
150 Evaluate Reverse Polish Notation         Notes        
151 Reverse Words in a String         Notes        
152 Maximum Product Subarray  Coming soon
153 Find Minimum in Rotated Sorted Array         Notes        
154 Find Minimum in Rotated Sorted Array II         Notes        
155 Min Stack         Notes        
156 Binary Tree Upside Down  Coming soon
157 Read N Characters Given Read4  Coming soon
158 Read N Characters Given Read4 II-Call mult...  Coming soon
159 Longest Substring with At Most Two Distinc...  Coming soon
160 Intersection of Two Linked Lists  Coming soon
161 One Edit Distance  Coming soon
162 Find Peak Element  Coming soon
163 Missing Ranges  Coming soon
164 Maximum Gap         Notes        
165 Compare Version Numbers  Coming soon
166 Fraction to Recurring Decimal  Coming soon
167 Two Sum II-Input array is sorted  Coming soon
168 Excel Sheet Column Title  Coming soon
169 Majority Element  Coming soon
170 Two Sum III-Data structure design  Coming soon
171 Excel Sheet Column Number  Coming soon
172 Factorial Trailing Zeroes         Notes        
173 Binary Search Tree Iterator         Notes        
174 Dungeon Game         Notes        
175 Combine Two Tables  Coming soon
176 Second Highest Salary  Coming soon
177 Nth Highest Salary         Notes        
178 Rank Scores  Coming soon
179 Largest Number         Notes        
180 Consecutive Numbers         Notes        
181 Employees Earning More Than Their Managers  Coming soon
182 Duplicate Emails  Coming soon
183 Customers Who Never Order  Coming soon
184 Department Highest Salary  Coming soon
186 Reverse Words in a String II  Coming soon
187 Repeated DNA Sequences  Coming soon
188 Best Time to Buy and Sell Stock IV         Notes        
189 Rotate Array         Notes        
190 Reverse Bits         Notes        
191 Number of 1 Bits         Notes        
192 Word Frequency         Notes        
193 Valid Phone Numbers         Notes        
194 Transpose File  Coming soon
195 Tenth Line  Coming soon
196 Delete Duplicate Emails  Coming soon
197 Rising Temperature         Notes        
198 House Robber         Notes        
199 Binary Tree Right Side View         Notes        
200 Number of Islands  Coming soon
201 Bitwise AND of Numbers Range         Notes        
202 Happy Number         Notes        
203 Remove Linked List Elements  Coming soon
204 Count Primes  Coming soon
205 Isomorphic Strings         Notes        
206 Reverse Linked List  Coming soon
207 Course Schedule         Notes        
208 Implement Trie (Prefix Tree)         Notes        
209 Minimum Size Subarray Sum  Coming soon
210 Course Schedule II         Notes        
211 Add and Search Word-Data structure design  Coming soon
212 Word Search II         Notes        
213 House Robber II  Coming soon
214 Shortest Palindrome         Notes        
215 Kth Largest Element in an Array         Notes        
216 Combination Sum III         Notes        
217 Contains Duplicate         Notes        
218 The Skyline Problem  Coming soon
219 Contains Duplicate II         Notes        
220 Contains Duplicate III         Notes        
221 Maximal Square         Notes        
222 Count Complete Tree Nodes         Notes        
223 Rectangle Area  Coming soon
224 Basic Calculator         Notes        
225 Implement Stack using Queues         Notes        
226 Invert Binary Tree         Notes        
227 Basic Calculator II         Notes        
228 Summary Ranges         Notes        
229 Majority Element II  Coming soon
230 Kth Smallest Element in a BST         Notes        
231 Power of Two         Notes        
232 Implement Queue using Stacks         Notes        
233 Number of Digit One  Coming soon
234 Palindrome Linked List         Notes        
235 Lowest Common Ancestor of a Binary Search ...         Notes        
236 Lowest Common Ancestor of a Binary Tree  Coming soon
237 Delete Node in a Linked List         Notes        
238 Product of Array Except Self         Notes        
239 Sliding Window Maximum         Notes        
240 Search a 2D Matrix II         Notes        
241 Different Ways to Add Parentheses         Notes        
242 Valid Anagram         Notes        
243 Shortest Word Distance  Coming soon
244 Shortest Word Distance II  Coming soon
245 Shortest Word Distance III  Coming soon
246 Strobogrammatic Number  Coming soon
247 Strobogrammatic Number II  Coming soon
248 Strobogrammatic Number III  Coming soon
249 Group Shifted Strings  Coming soon
250 Count Univalue Subtrees  Coming soon
251 Flatten 2D Vector  Coming soon
252 Meeting Rooms  Coming soon
253 Meeting Rooms II  Coming soon
254 Factor Combinations  Coming soon
255 Verify Preorder Sequence in Binary Search ...  Coming soon
256 Paint House  Coming soon
257 Binary Tree Paths  Coming soon
258 Add Digits         Notes        
259 3Sum Smaller  Coming soon
260 Single Number III  Coming soon
261 Graph Valid Tree  Coming soon
263 Ugly Number         Notes        
264 Ugly Number II         Notes        
265 Paint House II  Coming soon
266 Palindrome Permutation  Coming soon
267 Palindrome Permutation II  Coming soon
268 Missing Number         Notes        
269 Alien Dictionary  Coming soon
270 Closest Binary Search Tree Value  Coming soon
271 Encode and Decode Strings  Coming soon
272 Closest Binary Search Tree Value II  Coming soon
273 Integer to English Words  Coming soon
274 H-Index  Coming soon
275 H-Index II  Coming soon
276 Paint Fence  Coming soon
277 Find the Celebrity  Coming soon
278 First Bad Version         Notes        
279 Perfect Squares         Notes        
280 Wiggle Sort  Coming soon
281 Zigzag Iterator  Coming soon
282 Expression Add Operators  Coming soon
283 Move Zeroes         Notes        
284 Peeking Iterator  Coming soon
285 Inorder Successor in BST  Coming soon
286 Walls and Gates  Coming soon
287 Find the Duplicate Number  Coming soon
288 Unique Word Abbreviation  Coming soon
289 Game of Life         Notes        
290 Word Pattern         Notes        
291 Word Pattern II  Coming soon
292 Nim Game         Notes        
293 Flip Game  Coming soon
294 Flip Game II  Coming soon
295 Find Median from Data Stream  Coming soon
296 Best Meeting Point  Coming soon
297 Serialize and Deserialize Binary Tree  Coming soon
298 Binary Tree Longest Consecutive Sequence  Coming soon
299 Bulls and Cows  Coming soon
300 Longest Increasing Subsequence  Coming soon
301 Remove Invalid Parentheses  Coming soon
302 Smallest Rectangle Enclosing Black Pixels  Coming soon
303 Range Sum Query-Immutable  Coming soon
304 Range Sum Query 2D-Immutable  Coming soon
305 Number of Islands II  Coming soon
306 Additive Number  Coming soon
307 Range Sum Query-Mutable  Coming soon
308 Range Sum Query 2D-Mutable  Coming soon
309 Best Time to Buy and Sell Stock with Cooldown  Coming soon
310 Minimum Height Trees  Coming soon
311 Sparse Matrix Multiplication  Coming soon
312 Burst Balloons  Coming soon
313 Super Ugly Number         Notes        
314 Binary Tree Vertical Order Traversal  Coming soon
315 Count of Smaller Numbers After Self         Notes        
316 Remove Duplicate Letters  Coming soon
317 Shortest Distance from All Buildings  Coming soon
318 Maximum Product of Word Lengths  Coming soon
319 Bulb Switcher  Coming soon
320 Generalized Abbreviation  Coming soon
321 Create Maximum Number  Coming soon
322 Coin Change  Coming soon
323 Number of Connected Components in an Undir...  Coming soon
324 Wiggle Sort II  Coming soon
325 Maximum Size Subarray Sum Equals k  Coming soon
326 Power of Three         Notes        
327 Count of Range Sum         Notes        
328 Odd Even Linked List         Notes        
329 Longest Increasing Path in a Matrix  Coming soon
330 Patching Array  Coming soon
331 Verify Preorder Serialization of a Binary ...  Coming soon
332 Reconstruct Itinerary  Coming soon
333 Largest BST Subtree  Coming soon
334 Increasing Triplet Subsequence  Coming soon
335 Self Crossing  Coming soon
336 Palindrome Pairs  Coming soon
337 House Robber III  Coming soon
338 Counting Bits         Notes        
339 Nested List Weight Sum  Coming soon
340 Longest Substring with At Most K Distinct ...  Coming soon
341 Flatten Nested List Iterator  Coming soon
342 Power of Four  Coming soon
343 Integer Break  Coming soon
344 Reverse String  Coming soon
345 Reverse Vowels of a String  Coming soon
346 Moving Average from Data Stream  Coming soon
347 Top K Frequent Elements  Coming soon
348 Design Tic-Tac-Toe  Coming soon
349 Intersection of Two Arrays         Notes        
350 Intersection of Two Arrays II  Coming soon
351 Android Unlock Patterns  Coming soon
352 Data Stream as Disjoint Intervals  Coming soon
353 Design Snake Game  Coming soon
354 Russian Doll Envelopes  Coming soon
355 Design Twitter  Coming soon
356 Line Reflection  Coming soon
357 Count Numbers with Unique Digits  Coming soon
358 Rearrange String k Distance Apart  Coming soon
359 Logger Rate Limiter  Coming soon
360 Sort Transformed Array  Coming soon
361 Bomb Enemy  Coming soon
362 Design Hit Counter  Coming soon
363 Max Sum of Rectangle No Larger Than K  Coming soon
364 Nested List Weight Sum II  Coming soon
365 Water and Jug Problem         Notes        
366 Find Leaves of Binary Tree  Coming soon
367 Valid Perfect Square  Coming soon
368 Largest Divisible Subset  Coming soon
369 Plus One Linked List  Coming soon
370 Range Addition  Coming soon
371 Sum of Two Integers  Coming soon
372 Super Pow  Coming soon
373 Find K Pairs with Smallest Sums         Notes        
374 Guess Number Higher or Lower  Coming soon
375 Guess Number Higher or Lower II  Coming soon
376 Wiggle Subsequence  Coming soon
377 Combination Sum IV  Coming soon
378 Kth Smallest Element in a Sorted Matrix  Coming soon
379 Design Phone Directory  Coming soon
380 Insert Delete GetRandom O(1)  Coming soon
381 Insert Delete GetRandom O(1)-Duplicates al...  Coming soon
382 Linked List Random Node  Coming soon
383 Ransom Note  Coming soon
384 Shuffle an Array  Coming soon
385 Mini Parser         Notes        
386 Lexicographical Numbers  Coming soon
387 First Unique Character in a String  Coming soon
388 Longest Absolute File Path  Coming soon
389 Find the Difference  Coming soon
390 Elimination Game  Coming soon
391 Perfect Rectangle  Coming soon
392 Is Subsequence  Coming soon
393 UTF-8 Validation  Coming soon
394 Decode String  Coming soon
395 Longest Substring with At Least K Repeatin...  Coming soon
396 Rotate Function  Coming soon
397 Integer Replacement  Coming soon
398 Random Pick Index  Coming soon
399 Evaluate Division  Coming soon
400 Nth Digit  Coming soon
401 Binary Watch         Notes        
402 Remove K Digits         Notes        
403 Frog Jump  Coming soon
404 Sum of Left Leaves  Coming soon
405 Convert a Number to Hexadecimal  Coming soon
406 Queue Reconstruction by Height  Coming soon
407 Trapping Rain Water II  Coming soon
408 Valid Word Abbreviation  Coming soon
409 Longest Palindrome  Coming soon
410 Split Array Largest Sum  Coming soon
411 Minimum Unique Word Abbreviation  Coming soon
412 Fizz Buzz  Coming soon
413 Arithmetic Slices  Coming soon
414 Third Maximum Number  Coming soon
415 Add Strings  Coming soon
416 Partition Equal Subset Sum         Notes        
417 Pacific Atlantic Water Flow  Coming soon
418 Sentence Screen Fitting  Coming soon
419 Battleships in a Board  Coming soon
420 Strong Password Checker  Coming soon
421 Maximum XOR of Two Numbers in an Array  Coming soon
422 Valid Word Square  Coming soon
423 Reconstruct Original Digits from English  Coming soon
424 Longest Repeating Character Replacement  Coming soon
425 Word Squares  Coming soon
432 [All Oone Data Structure](problems/432.All_Oone_Data_Structure)  Coming soon
434 Number of Segments in a String         Notes        
435 Non-overlapping Intervals  Coming soon
436 Find Right Interval  Coming soon
437 Path Sum III  Coming soon
438 Find All Anagrams in a String  Coming soon
439 Ternary Expression Parser  Coming soon
440 K-th Smallest in Lexicographical Order  Coming soon
441 Arranging Coins  Coming soon
442 Find All Duplicates in an Array  Coming soon
444 Sequence Reconstruction  Coming soon
445 Add Two Numbers II         Notes        
446 Arithmetic Slices II-Subsequence  Coming soon
447 Number of Boomerangs  Coming soon
448 Find All Numbers Disappeared in an Array  Coming soon
449 Serialize and Deserialize BST  Coming soon
450 Delete Node in a BST  Coming soon
451 Sort Characters By Frequency         Notes        
452 Minimum Number of Arrows to Burst Balloons  Coming soon
453 Minimum Moves to Equal Array Elements  Coming soon
454 4Sum II  Coming soon
455 Assign Cookies  Coming soon
456 132 Pattern  Coming soon
459 Repeated Substring Pattern  Coming soon
460 LFU Cache  Coming soon
461 Hamming Distance  Coming soon
462 Minimum Moves to Equal Array Elements II  Coming soon
463 Island Perimeter  Coming soon
464 Can I Win  Coming soon
465 Optimal Account Balancing  Coming soon
466 Count The Repetitions  Coming soon
467 Unique Substrings in Wraparound String  Coming soon
468 Validate IP Address  Coming soon
469 Convex Polygon  Coming soon
471 Encode String with Shortest Length  Coming soon
472 Concatenated Words  Coming soon
473 Matchsticks to Square  Coming soon
474 Ones and Zeroes  Coming soon
475 heaters  Coming soon
476 Number Complement  Coming soon
477 Total Hamming Distance  Coming soon
480 Sliding Window Median  Coming soon
481 Magical String  Coming soon
482 License Key Formatting  Coming soon
483 Smallest Good Base         Notes        
484 Find Permutation  Coming soon
485 Max Consecutive Ones  Coming soon
486 Predict the Winner  Coming soon
487 Max Consecutive Ones II  Coming soon
488 Zuma Game  Coming soon
490 The Maze  Coming soon
491 Increasing Subsequences  Coming soon
492 Construct the Rectangle  Coming soon
493 Reverse Pairs  Coming soon
494 Target Sum  Coming soon
495 Teemo Attacking  Coming soon
496 Next Greater Element I  Coming soon
498 Diagonal Traverse         Notes        
499 The Maze III  Coming soon
500 Keyboard Row  Coming soon
501 Find Mode in Binary Search Tree  Coming soon
502 IPO  Coming soon
503 Next Greater Element II         Notes        
504 Base 7  Coming soon
505 The Maze II  Coming soon
506 Relative Ranks  Coming soon
507 Perfect Number  Coming soon
508 Most Frequent Subtree Sum  Coming soon
513 Find Bottom Left Tree Value         Notes        
514 Freedom Trail  Coming soon
515 Find Largest Value in Each Tree Row         Notes        
516 Longest Palindromic Subsequence         Notes        
517 Super Washing Machines  Coming soon
520 Detect Capital  Coming soon
521 Longest Uncommon Subsequence I  Coming soon
522 Longest Uncommon Subsequence II  Coming soon
523 Continuous Subarray Sum  Coming soon
524 Longest Word in Dictionary through Deleting  Coming soon
525 Contiguous Array  Coming soon
526 Beautiful Arrangement  Coming soon
527 Word Abbreviation         Notes        
529 Minesweeper  Coming soon
530 Minimum Absolute Difference in BST         Notes        
531 Lonely Pixel I  Coming soon
532 K-diff Pairs in an Array  Coming soon
533 Lonely Pixel II  Coming soon
535 Encode and Decode TinyURL  Coming soon
536 Construct Binary Tree from String         Notes        
537 Complex Number Multiplication  Coming soon
538 Convert BST to Greater Tree  Coming soon
539 Minimum Time Difference  Coming soon
541 Reverse String II         Notes        
542 01 Matrix         Notes        
543 Diameter of Binary Tree  Coming soon
544 Output Contest Matches  Coming soon
545 Boundary of Binary Tree  Coming soon
546 Remove Boxes  Coming soon
547 Friend Circles  Coming soon
548 Split Array with Equal Sum  Coming soon
549 Binary Tree Longest Consecutive Sequence II  Coming soon
551 Student Attendance Record I  Coming soon
552 Student Attendance Record II  Coming soon
553 Optimal Division  Coming soon
554 Brick Wall  Coming soon
555 Split Assembled Strings  Coming soon
555 Split Concatenated Strings  Coming soon
556 Next Greater Element III  Coming soon
557 Reverse Words in a String III  Coming soon
560 Subarray Sum Equals K  Coming soon
561 Array Partition I  Coming soon
562 Longest Line of Consecutive One in Matrix  Coming soon
563 Binary Tree Tilt  Coming soon
564 Find the Closest Palindrome  Coming soon
565 Array Nesting  Coming soon
566 Reshape the Matrix  Coming soon
567 Permutation in String  Coming soon
568 Maximum Vacation Days  Coming soon
575 Distribute Candies  Coming soon
576 Out of Boundary Paths  Coming soon
581 Shortest Unsorted Continuous Subarray  Coming soon
582 Kill Process  Coming soon
583 Delete Operation for Two Strings  Coming soon
587 Erect the Fence  Coming soon
591 Tag Validator  Coming soon
592 Fraction Addition and Subtraction  Coming soon
593 Valid Square  Coming soon
594 Longest Harmonious Subsequence  Coming soon
598 Range Addition II  Coming soon
599 Minimum Index Sum of Two Lists  Coming soon
600 Non-negative Integers without Consecutive ...  Coming soon
604 Design Compressed String Iterator  Coming soon
605 Can Place Flowers  Coming soon
606 Construct String from Binary Tree  Coming soon
609 Find Duplicate File in System  Coming soon
611 Valid Triangle Number  Coming soon
616 Add Bold Tag in String  Coming soon
617 Merge Two Binary Trees  Coming soon
621 Task Scheduler  Coming soon
623 Add One Row to Tree  Coming soon
624 Maximum Distance in Arrays  Coming soon
625 Minimum Factorization  Coming soon
628 Maximum Product of Three Numbers  Coming soon
629 K Inverse Pairs Array  Coming soon
630 Course Schedule III  Coming soon
631 Design Excel Sum Formula  Coming soon
632 Smallest Range  Coming soon
633 Sum of Square Numbers  Coming soon
634 Find the Derangement of An Array  Coming soon
635 Design Log Storage System  Coming soon
637 Average of Levels in Binary Tree  Coming soon
640 Solve the Equation  Coming soon
647 Palindromic Substrings  Coming soon
648 Replace Words  Coming soon
650 2 Keys Keyboard  Coming soon
652 Find Duplicate Subtrees  Coming soon
653 Two Sum IV-Input is a BST  Coming soon
654 Maximum Binary Tree  Coming soon
655 Print Binary Tree  Coming soon
656 Coin Path  Coming soon
657 Judge Route Circle  Coming soon
658 Find K Closest Elements  Coming soon
659 Split Array into Consecutive Subsequences  Coming soon
660 Remove 9  Coming soon
661 Image Smoother  Coming soon
662 Maximum Width of Binary Tree  Coming soon
663 Equal Tree Partition  Coming soon
664 Strange Printer  Coming soon
665 Non-decreasing Array  Coming soon
666 Path Sum IV  Coming soon
667 Beautiful Arrangement II  Coming soon
668 Kth Smallest Number in Multiplication Table  Coming soon
669 Trim a Binary Search Tree  Coming soon
670 Maximum Swap  Coming soon
671 Second Minimum Node In a Binary Tree  Coming soon
672 Bulb Switcher II  Coming soon
677 Map Sum Pairs  Coming soon
678 Valid Parenthesis String  Coming soon
679 24 Game  Coming soon
680 Valid Palindrome II  Coming soon

leetcode's People

Contributors

jianghanli avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.