Skip to content

🍡 LeetCode Online Judge刷题题解(Java/C++/Python/Ruby/Swift)

Notifications You must be signed in to change notification settings

power-more/LeetCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

ID Title Difficulty Java Python Ruby C++ Swift
001 Two Sum Easy Java Python Ruby C++ no
002 Add Two Numbers Medium Java Python Ruby C++ no
003 Longest Substring Without Repeating Characters Medium Java Python no C++ no
005 Longest Palindromic Substring Medium no no no C++ no
006 ZigZag Conversion Easy Java Python no C++ no
007 Reverse Integer Easy Java Python Ruby C++ no
008 String to Integer (atoi) Easy Java no no C++ no
009 Palindrome Number Easy Java Python Ruby C++ no
010 Regular Expression Matching Hard Java no no no no
011 Container With Most Water Medium Java no no C++ no
012 Integer to Roman Medium Java Python no C++ no
013 Roman to Integer Easy Java Python no C++ no
014 Longest Common Prefix Easy Java Python no C++ no
015 3Sum Medium Java Python Ruby C++ no
016 3Sum Closest Medium Java no no C++ no
017 Letter Combinations of a Phone Number Medium Java Python no C++ no
018 4Sum Medium Java no no C++ no
019 Remove Nth Node From End of List Easy Java Python Ruby C++ no
020 Valid Parentheses Easy Java no no C++ Swift
021 Merge Two Sorted Lists Easy Java Python Ruby C++ Swift
022 Generate Parentheses Medium Java Python no C++ no
023 Merge k Sorted Lists Hard Java Python Ruby no Swift
024 Swap Nodes in Pairs Easy Java Python no C++ no
025 Reverse Nodes in k-Group Hard Java no no no no
026 Remove Duplicates from Sorted Array Easy Java Python no C++ no
027 Remove Element Easy Java Python no C++ no
028 Implement strStr() Easy Java no no C++ no
029 Divide Two Integers Medium Java no no C++ no
031 Next Permutation Medium Java Python no C++ no
032 Longest Valid Parentheses Hard Java no no no no
033 Search in Rotated Sorted Array Medium Java no no C++ no
034 Search for a Range Medium Java Python no C++ no
035 Search Insert Position Medium Java Python no C++ Swift
036 Valid Sudoku Easy Java no no C++ no
037 Sudoku Solver Hard Java no no no no
038 Count and Say Easy Java no no C++ no
039 Combination Sum Medium Java Python no C++ no
040 Combination Sum II Medium Java no no C++ no
041 First Missing Positive Hard Java Python no no no
042 Trapping Rain Water Hard Java no no C++ no
043 Multiply Strings Medium Java Python no C++ no
045 Jump Game II Hard Java no no no no
046 Permutations Medium Java Python no C++ no
047 Permutations II Medium Java Python no C++ no
048 Rotate Image Medium Java Python no C++ no
049 Group Anagrams Medium Java Python no C++ Swift
050 Pow(x, n) Medium Java Python no no no
051 N-Queens Hard Java Python no C++ no
052 N-Queens II Hard Java Python no C++ no
053 Maximum Subarray Medium Java Python no C++ no
054 Spiral Matrix Medium Java Python no no no
055 Jump Game Medium Java Python no C++ no
056 Merge Intervals Medium Java no no C++ no
057 Insert Interval Hard Java Python no no no
058 Length of Last Word Easy Java Python no C++ no
059 Spiral Matrix II Medium Java Python no C++ no
060 Permutation Sequence Medium Java Python no C++ no
061 Rotate List Medium Java Python no C++ no
062 Unique Paths Medium Java Python no C++ Swift
063 Unique Paths II Medium Java Python no C++ no
064 Minimum Path Sum Medium Java Python no C++ no
066 Plus One Easy Java no no C++ no
067 Add Binary Easy Java Python no C++ no
068 Text Justification Hard Java Python no no no
069 Sqrt(x) Medium Java Python no C++ no
070 Climbing Stairs Easy Java Python no C++ Swift
071 Simplify Path Medium no no no C++ no
072 Edit Distance Hard Java Python no no no
073 Set Matrix Zeroes Medium Java Python no no no
074 Search a 2D Matrix Medium Java Python no C++ no
075 Sort Colors Medium Java Python no C++ Swift
077 Combinations Medium Java Python no C++ no
078 Subsets Medium Java Python no C++ no
079 Word Search Medium Java no no no no
080 Remove Duplicates from Sorted Array II Medium Java Python no C++ no
081 Search in Rotated Sorted Array II Medium Java no no no no
082 Remove Duplicates from Sorted List II Medium Java Python no C++ no
083 Remove Duplicates from Sorted List Easy Java Python no C++ no
086 Partition List Medium Java Python no no no
087 Scramble String Hard Java Python no no no
088 Merge Sorted Array Easy Java Python no C++ no
089 Gray Code Medium Java Python no no no
090 Subsets II Medium Java Python no C++ no
091 Decode Ways Medium Java Python no C++ no
092 Reverse Linked List II Medium Java no no no no
093 Restore IP Addresses Medium Java Python no C++ no
094 Binary Tree Inorder Traversal Medium Java Python Ruby C++ Swift
095 Unique Binary Search Trees II Medium Java no no no no
096 Unique Binary Search Trees Medium Java Python no C++ Swift
097 Interleaving String Hard Java Python no no no
098 Validate Binary Search Tree Medium Java Python Ruby C++ Swift
099 Recover Binary Search Tree Hard no Python no no no
100 Same Tree Easy Java Python Ruby C++ Swift
101 Symmetric Tree Easy Java Python Ruby C++ Swift
102 Binary Tree Level Order Traversal Easy Java Python no C++ Swift
103 Binary Tree Zigzag Level Order Traversal Medium Java Python no C++ no
104 Maximum Depth of Binary Tree Easy Java Python Ruby C++ Swift
105 Construct Binary Tree from Preorder and Inorder Traversal Medium Java Python Ruby no no
106 Construct Binary Tree from Inorder and Postorder Traversal Medium Java Python Ruby no no
107 Binary Tree Level Order Traversal II Easy Java Python no C++ no
108 Convert Sorted Array to Binary Search Tree Medium Java Python no C++ no
109 Convert Sorted List to Binary Search Tree Medium Java Python no C++ no
110 Balanced Binary Tree Easy Java Python Ruby C++ no
111 Minimum Depth of Binary Tree Easy Java Python Ruby C++ no
112 Path Sum Easy Java Python Ruby C++ no
113 Path Sum II Medium Java Python no C++ no
114 Flatten Binary Tree to Linked List Medium Java Python no no Swift
116 Populating Next Right Pointers in Each Node Medium Java Python no no no
117 Populating Next Right Pointers in Each Node II Hard Java Python no no no
118 Pascal's Triangle Easy Java Python no C++ no
119 Pascal's Triangle II Easy Java Python no C++ no
120 Triangle Medium Java Python no C++ no
121 Best Time to Buy and Sell Stock Easy Java no no C++ Swift
122 Best Time to Buy and Sell Stock II Medium Java no no C++ no
123 Best Time to Buy and Sell Stock III Hard Java no no no no
124 Binary Tree Maximum Path Sum Hard Java no no no no
125 Valid Palindrome Easy Java no no C++ no
127 Word Ladder Medium Java no no C++ no
128 Longest Consecutive Sequence Hard Java no no no no
129 Sum Root to Leaf Numbers Medium Java Python no C++ no
130 Surrounded Regions Medium Java no no C++ no
131 Palindrome Partitioning Medium Java no no no no
133 Clone Graph Medium Java Python no no no
134 Gas Station Medium Java Python no C++ no
135 Candy Hard Java no no no no
136 Single Number Easy Java Python no C++ Swift
137 Single Number II Medium Java no no C++ no
138 Copy List with Random Pointer Hard Java Python no no no
139 Word Break Medium Java no no no no
140 Word Break II Hard Java no no no no
141 Linked List Cycle Easy Java Python no C++ no
142 Linked List Cycle II Medium Java Python no C++ no
143 Reorder List Medium Java Python no C++ no
144 Binary Tree Preorder Traversal Medium Java Python Ruby C++ no
145 Binary Tree Postorder Traversal Hard Java Python no C++ no
146 LRU Cache Hard Java Python no no no
147 Insertion Sort List Medium Java no no no no
148 Sort List Medium Java Python no no Swift
149 Max Points on a Line Hard Java no no no no
150 Evaluate Reverse Polish Notation Medium Java no no no no
151 Reverse Words in a String Medium Java no no C++ no
152 Maximum Product Subarray Medium Java no no C++ Swift
153 Find Minimum in Rotated Sorted Array Medium Java no no C++ no
154 Find Minimum in Rotated Sorted Array II Hard Java no no no no
155 Min Stack Easy Java no no C++ no
156 Binary Tree Upside Down Medium Java no no no no
160 Intersection of Two Linked Lists Easy Java Python no C++ no
161 One Edit Distance Medium Java no no no no
162 Find Peak Element Medium Java no no C++ no
164 Maximum Gap Hard Java no no no no
165 Compare Version Numbers Easy Java Python no C++ no
166 Fraction to Recurring Decimal Medium Java no no C++ no
167 Two Sum II - Input array is sorted Medium Java no no C++ no
168 Excel Sheet Column Title Easy Java Python no C++ no
169 Majority Element Easy Java Python no C++ Swift
170 Two Sum III - Data structure design Easy no no no no no
171 Excel Sheet Column Number Easy Java Python no C++ no
172 Factorial Trailing Zeroes Easy Java Python no C++ no
173 Binary Search Tree Iterator Medium Java no no no no
179 Largest Number Medium Java Python no C++ no
186 Reverse Words in a String II Medium no no no no no
187 Repeated DNA Sequences Medium Java no no no no
189 Rotate Array Easy Java Python no C++ no
190 Reverse Bits Easy Java Python no C++ no
191 Number of 1 Bits Easy Java Python no C++ no
198 House Robber Easy Java Python no C++ Swift
199 Binary Tree Right Side View Medium Java Python no C++ no
200 Number of Islands Medium Java Python no C++ no
201 Bitwise AND of Numbers Range Medium Java no no no no
202 Happy Number Easy Java Python no C++ no
203 Remove Linked List Elements Easy Java Python no C++ no
204 Count Primes Easy Java no no C++ no
205 Isomorphic Strings Easy Java Python no C++ no
206 Reverse Linked List Easy Java Python no C++ Swift
207 Course Schedule Medium no no no no no
208 Implement Trie (Prefix Tree) Medium Java no no no no
209 Minimum Size Subarray Sum Medium no no no C++ no
212 Word Search II Hard Java no no no no
213 House Robber II Medium Java Python no C++ no
215 Kth Largest Element in an Array Medium Java Python no C++ Swift
216 Combination Sum III Medium Java Python no C++ no
217 Contains Duplicate Easy Java Python no C++ no
219 Contains Duplicate II Easy Java Python no C++ no
220 Contains Duplicate III Medium no no no C++ no
221 Maximal Square Medium Java no no no no
222 Count Complete Tree Nodes Medium Java Python no C++ no
223 Rectangle Area Easy Java Python no C++ no
225 Implement Stack using Queues Easy Java no no C++ no
226 Invert Binary Tree Easy Java Python Ruby C++ no
227 Basic Calculator II Medium no no no no no
228 Summary Ranges Medium Java Python no C++ no
229 Majority Element II Medium Java no no no no
230 Kth Smallest Element in a BST Medium Java Python Ruby C++ no
231 Power of Two Easy Java Python no C++ no
232 Implement Queue using Stacks Easy Java no no C++ no
234 Palindrome Linked List Easy Java no no C++ Swift
235 Lowest Common Ancestor of a Binary Search Tree Easy Java Python no C++ no
236 Lowest Common Ancestor of a Binary Tree Medium Java Python no no no
237 Delete Node in a Linked List Easy Java Python no C++ no
238 Product of Array Except Self Medium Java Python no C++ Swift
239 Sliding Window Maximum Hard Java Python no no no
240 Search a 2D Matrix II Medium Java no no C++ no
241 Different Ways to Add Parentheses Medium no no no no no
242 Valid Anagram Easy Java Python no C++ no
243 Shortest Word Distance Easy no no no no no
244 Shortest Word Distance II Medium no no no no no
245 Shortest Word Distance III Medium no no no no no
246 Strobogrammatic Number Easy no no no no no
247 Strobogrammatic Number II Medium no no no no no
248 Strobogrammatic Number III Hard no no no no no
249 Group Shifted Strings Easy no no no no no
250 Count Univalue Subtrees Medium no no no no no
251 Flatten 2D Vector Medium no no no no no
252 Meeting Rooms Easy no no no no no
253 Meeting Rooms II Medium no no no no no
254 Factor Combinations Medium no no no no no
255 Verify Preorder Sequence in Binary Search Tree Medium no no no no no
256 Paint House Medium no no no no no
257 Binary Tree Paths Easy Java Python no no no
258 Add Digits Easy Java Python no C++ no
259 3Sum Smaller Medium no no no no no
260 Single Number III Medium Java Python no C++ no
261 Graph Valid Tree Medium no no no no no
263 Ugly Number Easy Java Python no C++ no
264 Ugly Number II Medium Java no no no no
265 Paint House II Hard no no no no no
266 Palindrome Permutation Easy no no no no no
267 Palindrome Permutation II Medium no no no no no
268 Missing Number Medium Java Python no C++ no
269 Alien Dictionary Hard no no no no no
270 Closest Binary Search Tree Value Easy no no no no no
271 Encode and Decode Strings Medium no no no no no
272 Closest Binary Search Tree Value II Hard no no no no no
273 Integer to English Words Hard Java Python no no no
274 H-Index Medium Java no no no no
275 H-Index II Medium Java no no no no
276 Paint Fence Easy no no no no no
277 Find the Celebrity Medium no no no no no
278 First Bad Version Easy Java Python no C++ no
279 Perfect Squares Medium Java no no C++ no
280 Wiggle Sort Medium no no no no no
281 Zigzag Iterator Medium no no no no no
282 Expression Add Operators Hard no no no no no
283 Move Zeroes Easy Java Python no C++ Swift
284 Peeking Iterator Medium Java no no no no
285 Inorder Successor in BST Medium no no no no no
286 Walls and Gates Medium no no no no no
287 Find the Duplicate Number Hard Java Python no no Swift
288 Unique Word Abbreviation Easy no no no no no
289 Game of Life Medium Java Python no no no
290 Word Pattern Easy Java Python no C++ no
291 Word Pattern II Hard no no no no no
292 Nim Game Easy Java Python no C++ no
293 Flip Game Easy no no no no no
294 Flip Game II Medium no no no no no
295 Find Median from Data Stream Hard Java no no no no
296 Best Meeting Point Hard no no no no no
297 Serialize and Deserialize Binary Tree Hard Java no no no no
298 Binary Tree Longest Consecutive Sequence Medium no no no no no
299 Bulls and Cows Easy Java Python no C++ no
300 Longest Increasing Subsequence Medium Java no no C++ no
301 Remove Invalid Parentheses Hard no no no no no
302 Smallest Rectangle Enclosing Black Pixels Hard no no no no no
303 Range Sum Query - Immutable Easy Java Python no C++ no
304 Range Sum Query 2D - Immutable Medium no Python no C++ no
305 Number of Islands II Hard no no no no no
306 Additive Number Medium Java Python no no no
307 Range Sum Query - Mutable Medium Java no no C++ no
308 Range Sum Query 2D - Mutable Hard no no no no no
309 Best Time to Buy and Sell Stock with Cooldown Medium Java no no no no
310 Minimum Height Trees Medium no no no no no
311 Sparse Matrix Multiplication Medium no no no no no
312 Burst Balloons Hard no no no no no
313 Super Ugly Number Medium no no no no no
314 Binary Tree Vertical Order Traversal Medium no no no no no
315 Count of Smaller Numbers After Self Hard Java Python no no no
316 Remove Duplicate Letters Hard Java no no no no
317 Shortest Distance from All Buildings Hard no no no no no
318 Maximum Product of Word Lengths Medium Java Python no C++ no
319 Bulb Switcher Medium Java Python no C++ no
320 Generalized Abbreviation Medium no no no no no
321 Create Maximum Number Hard no no no no no
322 Coin Change Medium Java no no C++ no
323 Number of Connected Components in an Undirected Graph Medium no no no no no
324 Wiggle Sort II Medium no Python no C++ no
325 Maximum Size Subarray Sum Equals k Medium no no no no no
326 Power of Three Easy Java Python no C++ no
327 Count of Range Sum Hard no no no no no
328 Odd Even Linked List Medium Java Python no C++ no
329 Longest Increasing Path in a Matrix Hard Java Python no no no
330 Patching Array Hard no no no C++ no
331 Verify Preorder Serialization of a Binary Tree Medium Java Python no no no
332 Reconstruct Itinerary Medium no no no no no
333 Largest BST Subtree Medium no no no no no
334 Increasing Triplet Subsequence Medium Java Python no no no
335 Self Crossing Hard no no no no no
336 Palindrome Pairs Hard no no no no no
337 House Robber III Medium Java Python no no no
338 Counting Bits Medium Java Python no C++ Swift
339 Nested List Weight Sum Easy no no no no no
340 Longest Substring with At Most K Distinct Characters Hard no no no no no
341 Flatten Nested List Iterator Medium Java Python no no no
342 Power of Four Easy Java Python no no no
343 Integer Break Medium Java Python no C++ no
344 Reverse String Easy Java Python no C++ no
345 Reverse Vowels of a String Easy Java Python no C++ no
346 Moving Average from Data Stream Easy no no no no no
347 Top K Frequent Elements Medium Java Python no C++ Swift
348 Design Tic-Tac-Toe Medium no no no no no
349 Intersection of Two Arrays Easy Java no no C++ no
350 Intersection of Two Arrays II Easy Java no no C++ no
351 Android Unlock Patterns Medium no no no no no
352 Data Stream as Disjoint Intervals Hard Java no no no no
353 Design Snake Game Medium no no no no no
354 Russian Doll Envelopes Hard Java no no no no
355 Design Twitter Medium Java no no no no
356 Line Reflection Medium no no no no no
357 Count Numbers with Unique Digits Medium Java no no C++ no
358 Rearrange String k Distance Apart Hard no no no no no
359 Logger Rate Limiter Easy no no no no no
360 Sort Transformed Array Medium no no no no no
361 Bomb Enemy Medium no no no no no
362 Design Hit Counter Medium no no no no no
363 Max Sum of Rectangle No Larger Than K Hard Java no no no no
364 Nested List Weight Sum II Medium no no no no no
365 Water and Jug Problem Medium Java no no C++ no
366 Find Leaves of Binary Tree Medium no no no no no
367 Valid Perfect Square Medium Java no no C++ no
368 Largest Divisible Subset Medium Java no no no no
369 Plus One Linked List Medium no no no no no
370 Range Addition Medium no no no no no
371 Sum of Two Integers Easy Java no no C++ no
372 Super Pow Medium Java no no no no
373 Find K Pairs with Smallest Sums Medium Java no no no no
374 Guess Number Higher or Lower Easy Java no no C++ no
375 Guess Number Higher or Lower II Medium Java no no no no
376 Wiggle Subsequence Medium Java no no no no
377 Combination Sum IV Medium Java no no C++ no
378 Kth Smallest Element in a Sorted Matrix Medium Java no no C++ no
379 Design Phone Directory Medium no no no no no
380 Insert Delete GetRandom O(1) Hard Java no no no no
381 Insert Delete GetRandom O(1) - Duplicates allowed Hard Java no no no no
382 Linked List Random Node Medium Java no no C++ no
383 Ransom Note Easy Java no no C++ no
384 Shuffle an Array Medium Java no no C++ no
385 Mini Parser Medium Java no no no no
386 Lexicographical Numbers Medium Java no no no no
387 First Unique Character in a String Easy Java no no C++ no
388 Longest Absolute File Path Medium Java no no no no
389 Find the Difference Easy Java no no C++ no
390 Elimination Game Medium Java no no no no
391 Perfect Rectangle Hard Java no no no no
392 Is Subsequence Medium Java no no C++ no
393 UTF-8 Validation Medium Java no no no no
394 Decode String Medium Java no no no Swift
395 Longest Substring with At Least K Repeating Characters Medium Java no no no no
396 Rotate Function Easy Java no no C++ no
397 Integer Replacement Medium Java no no no no
398 Random Pick Index Medium Java no no C++ no
399 Evaluate Division Medium no no no no no
400 Nth Digit Easy Java no no C++ no
401 Binary Watch Easy Java no no C++ no
402 Remove K Digits Medium Java no no C++ no
403 Frog Jump Hard Java no no no no
404 Sum of Left Leaves Easy Java no no C++ no
405 Convert a Number to Hexadecimal Easy Java no no C++ no
406 Queue Reconstruction by Height Medium Java no no C++ no
407 Trapping Rain Water II Hard no no no no no
408 Valid Word Abbreviation Easy no no no no no
409 Longest Palindrome Easy Java no no C++ no
410 Split Array Largest Sum Hard no no no no no
411 Minimum Unique Word Abbreviation Hard no no no no no
412 Fizz Buzz Easy no no no C++ no
413 Arithmetic Slices Medium no no no C++ no
415 Add Strings Easy Java no no C++ no
416 Partition Equal Subset Sum Medium Java no no no no
417 Pacific Atlantic Water Flow Medium Java no no no no
418 Sentence Screen Fitting Medium no no no no no
419 Battleships in a Board Medium no no no C++ no
423 Reconstruct Original Digits from English Medium no no no C++ no
434 Number of Segments in a String Easy no no no C++ no
437 Path Sum III Easy no no no C++ Swift
438 Find All Anagrams in a String Easy no no no C++ Swift
441 Arranging Coins Easy no no no C++ no
442 Find All Duplicates in an Array Medium no no no C++ no
443 String Compression Easy no no no C++ no
445 Add Two Numbers II Medium no no no C++ no
447 Number of Boomerangs Easy no no no C++ no
448 Find All Numbers Disappeared in an Array Easy no no no C++ Swift
451 Sort Characters By Frequency Medium no no no C++ no
453 Minimum Moves to Equal Array Elements Easy no no no C++ no
454 4Sum II Medium no no no C++ no
455 Assign Cookies Easy no no no C++ no
459 Repeated Substring Pattern Easy no no no C++ no
461 Hamming Distance Easy no no no C++ Swift
462 Minimum Moves to Equal Array Elements II Medium no no no C++ no
463 Island Perimeter Easy no no no C++ no
464 Can I Win Medium no no no C++ no
468 Validate IP Address Medium no no no C++ no
475 Heaters Easy no no no C++ no
476 Number Complement Easy no no no C++ no
477 Total Hamming Distance Medium no no no C++ no
479 Largest Palindrome Product Easy no no no C++ no
481 Magical String Medium no no no C++ no
482 License Key Formatting Medium no no no C++ no
485 Max Consecutive Ones Easy no no no C++ no
486 Predict the Winner Medium no no no C++ no
491 Increasing Subsequences Medium no no no C++ no
492 Construct the Rectangle Medium no no no C++ no
494 Target Sum Medium no no no C++ no
495 Teemo Attacking Medium no no no C++ no
496 Next Greater Element I Easy no no no C++ no
498 Diagonal Traverse Medium no no no C++ no
500 Keyboard Row Easy no no no C++ no
501 Find Mode in Binary Search Tree Medium no no no C++ no
503 Next Greater Element II Medium no no no C++ no
504 Base 7 Easy no no no C++ no
506 Relative Ranks Easy no no no C++ no
507 Perfect Number Easy no no no C++ no
508 Most Frequent Subtree Sum Medium no no no C++ no
513 Find Bottom Left Tree Value Medium no no no C++ no
515 Find Largest Value in Each Tree Row Medium no no no C++ no
516 Longest Palindromic Subsequence Medium no no no C++ no
521 Longest Uncommon Subsequence I Easy no no no C++ no
532 K-diff Pairs in an Array Easy no no no C++ no
537 Complex Number Multiplication Medium no no no C++ no
538 Convert BST to Greater Tree Easy no no no C++ Swift
541 Reverse String II Easy no no no C++ no
543 Diameter of Binary Tree Easy no no no C++ Swift
547 Friend Circles Medium no no no C++ no
551 Student Attendance Record I Easy no no no C++ no
553 Optimal Division Medium no no no C++ no
561 Array Partition I Easy no no no C++ no
563 Binary Tree Tilt Easy no no no C++ no
566 Reshape the Matrix Easy no no no C++ no
572 Subtree of Another Tree Easy no no no C++ Swift
575 Distribute Candies Easy no no no C++ no
581 Shortest Unsorted Continuous Subarray Easy no no no C++ Swift
599 Minimum Index Sum of Two Lists Easy no no no C++ no
617 Merge Two Binary Trees Easy no no no no Swift
628 Maximum Product of Three Numbers Easy no no no C++ no
633 Sum of Square Numbers Easy no no no C++ no
637 Average of Levels in Binary Tree Easy no no no C++ no
643 Maximum Average Subarray I Easy no no no C++ no
650 2 Keys Keyboard Medium no no no C++ no
653 Two Sum IV - Input is a BST Easy no no no C++ no
654 Maximum Binary Tree Medium no no no C++ no
655 Print Binary Tree Medium no no no C++ no
657 Judge Route Circle Easy no no no C++ Swift
671 Second Minimum Node In a Binary Tree Easy no no no C++ no
674 Longest Continuous Increasing Subsequence Easy no no no C++ no
695 Max Area of Island Easy no no no C++ Swift
709 To Lower Case Easy no no no no Swift
717 1-bit and 2-bit Characters Easy no no no C++ no
724 Find Pivot Index Easy no no no C++ no
728 Self Dividing Numbers Easy no no no C++ no
733 Flood Fill Easy no no no C++ no
739 Daily Temperatures Medium no no no C++ no
740 Delete and Earn Medium no no no C++ no
744 Find Smallest Letter Greater Than Target Easy no no no C++ no
746 Min Cost Climbing Stairs Easy no no no C++ no
747 Largest Number At Least Twice of Others Easy no no no C++ no
760 Find Anagram Mappings Easy no no no C++ no
762 Prime Number of Set Bits in Binary Representation Easy no no no C++ no
763 Partition Labels Medium no no no C++ no
766 Toeplitz Matrix Easy no no no C++ no
768 Max Chunks To Make Sorted II Hard no no no C++ no
769 Max Chunks To Make Sorted Medium no no no C++ no
771 Jewels and Stones Easy no no no C++ Swift
775 Global and Local Inversions Medium no no no C++ no
779 K-th Symbol in Grammar Medium no no no C++ no
804 Unique Morse Code Words Easy no no no no Swift
832 Flipping an Image Easy no no no no Swift

About

🍡 LeetCode Online Judge刷题题解(Java/C++/Python/Ruby/Swift)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.8%
  • Swift 3.2%