Code Monkey home page Code Monkey logo

leetcode's Introduction

LeetCode

This is my answer of Leetcode, most of them written by Python method.

If you are interested in the content, you can see the more detail on my personal website http://xiejiacheng.com

Thank you for your visiting.

Directory

id title Difficulty Solution Lock Solved
1 Two Sum easy c
2 Add Two Numbers medium
3 Longest Substring Without Repeating Characters medium
4 Median of Two Sorted Arrays hard cpp
5 Longest Palindromic Substring medium
6 ZigZag Conversion medium
7 Reverse Integer easy
8 String to Integer (atoi) medium
9 Palindrome Number easy
10 Regular Expression Matching hard
11 Container With Most Water medium
12 Integer to Roman medium
13 Roman to Integer easy
14 Longest Common Prefix easy
15 3Sum medium cpp
16 3Sum Closest medium
17 Letter Combinations of a Phone Number medium
18 4Sum medium
19 Remove Nth Node From End of List medium
20 Valid Parentheses easy
21 Merge Two Sorted Lists easy
22 Generate Parentheses medium
23 Merge k Sorted Lists hard
24 Swap Nodes in Pairs medium
25 Reverse Nodes in k-Group hard
26 Remove Duplicates from Sorted Array easy c
27 Remove Element easy
28 Implement strStr() easy
29 Divide Two Integers medium cpp
30 Substring with Concatenation of All Words hard
31 Next Permutation medium c
32 Longest Valid Parentheses hard
33 Search in Rotated Sorted Array medium cpp
34 Search for a Range medium cpp
35 Search Insert Position easy cpp
36 Valid Sudoku medium
37 Sudoku Solver hard
38 Count and Say easy
39 Combination Sum medium c
40 Combination Sum II medium c
41 First Missing Positive hard
42 Trapping Rain Water hard
43 Multiply Strings medium
44 Wildcard Matching hard
45 Jump Game II hard c
46 Permutations medium
47 Permutations II medium
48 Rotate Image medium c
49 Group Anagrams medium
50 Pow(x, n) medium
51 N-Queens hard
52 N-Queens II hard
53 Maximum Subarray easy cpp
54 Spiral Matrix medium
55 Jump Game medium c
56 Merge Intervals medium c
57 Insert Interval hard c
58 Length of Last Word easy
59 Spiral Matrix II medium
60 Permutation Sequence medium
61 Rotate List medium
62 Unique Paths medium cpp
63 Unique Paths II medium cpp
64 Minimum Path Sum medium
65 Valid Number hard
66 Plus One easy c
67 Add Binary easy
68 Text Justification hard
69 Sqrt(x) easy
70 Climbing Stairs easy
71 Simplify Path medium
72 Edit Distance hard cpp
73 Set Matrix Zeroes medium
74 Search a 2D Matrix medium c
75 Sort Colors medium
76 Minimum Window Substring hard
77 Combinations medium
78 Subsets medium c
79 Word Search medium
80 Remove Duplicates from Sorted Array II medium
81 Search in Rotated Sorted Array II medium cpp
82 Remove Duplicates from Sorted List II medium
83 Remove Duplicates from Sorted List easy
84 Largest Rectangle in Histogram hard c
85 Maximal Rectangle hard c
86 Partition List medium
87 Scramble String hard
88 Merge Sorted Array easy
89 Gray Code medium
90 Subsets II medium
91 Decode Ways medium
92 Reverse Linked List II medium
93 Restore IP Addresses medium
94 Binary Tree Inorder Traversal medium
95 Unique Binary Search Trees II medium
96 Unique Binary Search Trees medium
97 Interleaving String hard cpp
98 Validate Binary Search Tree medium
99 Recover Binary Search Tree hard
100 Same Tree easy
101 Symmetric Tree easy
102 Binary Tree Level Order Traversal medium
103 Binary Tree Zigzag Level Order Traversal medium
104 Maximum Depth of Binary Tree easy cpp
105 Construct Binary Tree from Preorder and Inorder Traversal medium
106 Construct Binary Tree from Inorder and Postorder Traversal medium
107 Binary Tree Level Order Traversal II easy
108 Convert Sorted Array to Binary Search Tree easy cpp
109 Convert Sorted List to Binary Search Tree medium
110 Balanced Binary Tree easy
111 Minimum Depth of Binary Tree easy
112 Path Sum easy
113 Path Sum II medium
114 Flatten Binary Tree to Linked List medium
115 Distinct Subsequences hard cpp
116 Populating Next Right Pointers in Each Node medium
117 Populating Next Right Pointers in Each Node II medium
118 Pascal's Triangle easy c
119 Pascal's Triangle II easy c
120 Triangle medium cpp
121 Best Time to Buy and Sell Stock easy
122 Best Time to Buy and Sell Stock II easy
123 Best Time to Buy and Sell Stock III hard
124 Binary Tree Maximum Path Sum hard
125 Valid Palindrome easy
126 Word Ladder II hard
127 Word Ladder medium
128 Longest Consecutive Sequence hard cpp
129 Sum Root to Leaf Numbers medium
130 Surrounded Regions medium
131 Palindrome Partitioning medium cpp
132 Palindrome Partitioning II hard cpp
133 Clone Graph medium
134 Gas Station medium
135 Candy hard
136 Single Number easy
137 Single Number II medium
138 Copy List with Random Pointer medium
139 Word Break medium
140 Word Break II hard
141 Linked List Cycle easy
142 Linked List Cycle II medium
143 Reorder List medium
144 Binary Tree Preorder Traversal medium
145 Binary Tree Postorder Traversal hard
146 LRU Cache hard
147 Insertion Sort List medium
148 Sort List medium
149 Max Points on a Line hard
150 Evaluate Reverse Polish Notation medium
151 Reverse Words in a String medium
152 Maximum Product Subarray medium
153 Find Minimum in Rotated Sorted Array medium cpp
154 Find Minimum in Rotated Sorted Array II hard cpp
155 Min Stack easy
156 Binary Tree Upside Down medium 🔒
157 Read N Characters Given Read4 easy 🔒
158 Read N Characters Given Read4 II - Call multiple times hard 🔒
159 Longest Substring with At Most Two Distinct Characters hard 🔒
160 Intersection of Two Linked Lists easy
161 One Edit Distance medium 🔒
162 Find Peak Element medium cpp
163 Missing Ranges medium 🔒
164 Maximum Gap hard
165 Compare Version Numbers medium
166 Fraction to Recurring Decimal medium
167 Two Sum II - Input array is sorted easy cpp
168 Excel Sheet Column Title easy
169 Majority Element easy
170 Two Sum III - Data structure design easy 🔒
171 Excel Sheet Column Number easy
172 Factorial Trailing Zeroes easy
173 Binary Search Tree Iterator medium
174 Dungeon Game hard cpp
175 Combine Two Tables easy
176 Second Highest Salary easy
177 Nth Highest Salary medium
178 Rank Scores medium
179 Largest Number medium
180 Consecutive Numbers medium
181 Employees Earning More Than Their Managers easy
182 Duplicate Emails easy
183 Customers Who Never Order easy
184 Department Highest Salary medium
185 Department Top Three Salaries hard
186 Reverse Words in a String II medium 🔒
187 Repeated DNA Sequences medium
188 Best Time to Buy and Sell Stock IV hard
189 Rotate Array easy
190 Reverse Bits easy
191 Number of 1 Bits easy
192 Word Frequency medium
193 Valid Phone Numbers easy
194 Transpose File medium
195 Tenth Line easy
196 Delete Duplicate Emails easy
197 Rising Temperature easy
198 House Robber easy
199 Binary Tree Right Side View medium
200 Number of Islands medium
201 Bitwise AND of Numbers Range medium
202 Happy Number easy
203 Remove Linked List Elements easy
204 Count Primes easy
205 Isomorphic Strings easy
206 Reverse Linked List easy
207 Course Schedule medium
208 Implement Trie (Prefix Tree) medium
209 Minimum Size Subarray Sum medium c
210 Course Schedule II medium
211 Add and Search Word - Data structure design medium
212 Word Search II hard
213 House Robber II medium
214 Shortest Palindrome hard
215 Kth Largest Element in an Array medium
216 Combination Sum III medium
217 Contains Duplicate easy
218 The Skyline Problem hard
219 Contains Duplicate II easy
220 Contains Duplicate III medium
221 Maximal Square medium
222 Count Complete Tree Nodes medium cpp
223 Rectangle Area medium
224 Basic Calculator hard
225 Implement Stack using Queues easy
226 Invert Binary Tree easy
227 Basic Calculator II medium
228 Summary Ranges medium
229 Majority Element II medium
230 Kth Smallest Element in a BST medium cpp
231 Power of Two easy
232 Implement Queue using Stacks easy
233 Number of Digit One hard
234 Palindrome Linked List easy
235 Lowest Common Ancestor of a Binary Search Tree easy
236 Lowest Common Ancestor of a Binary Tree medium
237 Delete Node in a Linked List easy
238 Product of Array Except Self medium cpp
239 Sliding Window Maximum hard
240 Search a 2D Matrix II medium cpp
241 Different Ways to Add Parentheses medium
242 Valid Anagram easy cpp
243 Shortest Word Distance easy 🔒
244 Shortest Word Distance II medium 🔒
245 Shortest Word Distance III medium 🔒
246 Strobogrammatic Number easy 🔒
247 Strobogrammatic Number II medium 🔒
248 Strobogrammatic Number III hard 🔒
249 Group Shifted Strings medium 🔒
250 Count Univalue Subtrees medium 🔒
251 Flatten 2D Vector medium 🔒
252 Meeting Rooms easy 🔒
253 Meeting Rooms II medium 🔒
254 Factor Combinations medium 🔒
255 Verify Preorder Sequence in Binary Search Tree medium 🔒
256 Paint House easy 🔒
257 Binary Tree Paths easy
258 Add Digits easy
259 3Sum Smaller medium 🔒
260 Single Number III medium
261 Graph Valid Tree medium 🔒
262 Trips and Users hard
263 Ugly Number easy
264 Ugly Number II medium
265 Paint House II hard 🔒
266 Palindrome Permutation easy 🔒
267 Palindrome Permutation II medium 🔒
268 Missing Number easy c
269 Alien Dictionary hard 🔒
270 Closest Binary Search Tree Value easy 🔒
271 Encode and Decode Strings medium 🔒
272 Closest Binary Search Tree Value II hard 🔒
273 Integer to English Words hard
274 H-Index medium cpp
275 H-Index II medium cpp
276 Paint Fence easy 🔒
277 Find the Celebrity medium 🔒
278 First Bad Version easy cpp
279 Perfect Squares medium
280 Wiggle Sort medium 🔒
281 Zigzag Iterator medium 🔒
282 Expression Add Operators hard
283 Move Zeroes easy
284 Peeking Iterator medium
285 Inorder Successor in BST medium 🔒
286 Walls and Gates medium 🔒
287 Find the Duplicate Number medium c
288 Unique Word Abbreviation medium 🔒
289 Game of Life medium
290 Word Pattern easy
291 Word Pattern II hard 🔒
292 Nim Game easy
293 Flip Game easy 🔒
294 Flip Game II medium 🔒
295 Find Median from Data Stream hard
296 Best Meeting Point hard 🔒
297 Serialize and Deserialize Binary Tree hard
298 Binary Tree Longest Consecutive Sequence medium 🔒
299 Bulls and Cows medium
300 Longest Increasing Subsequence medium cpp
301 Remove Invalid Parentheses hard
302 Smallest Rectangle Enclosing Black Pixels hard 🔒
303 Range Sum Query - Immutable easy
304 Range Sum Query 2D - Immutable medium
305 Number of Islands II hard 🔒
306 Additive Number medium
307 Range Sum Query - Mutable medium
308 Range Sum Query 2D - Mutable hard 🔒
309 Best Time to Buy and Sell Stock with Cooldown medium
310 Minimum Height Trees medium
311 Sparse Matrix Multiplication medium 🔒
312 Burst Balloons hard cpp
313 Super Ugly Number medium
314 Binary Tree Vertical Order Traversal medium 🔒
315 Count of Smaller Numbers After Self hard
316 Remove Duplicate Letters hard cpp
317 Shortest Distance from All Buildings hard 🔒
318 Maximum Product of Word Lengths medium
319 Bulb Switcher medium
320 Generalized Abbreviation medium 🔒
321 Create Maximum Number hard
322 Coin Change medium
323 Number of Connected Components in an Undirected Graph medium 🔒
324 Wiggle Sort II medium
325 Maximum Size Subarray Sum Equals k medium 🔒
326 Power of Three easy
327 Count of Range Sum hard
328 Odd Even Linked List medium
329 Longest Increasing Path in a Matrix hard
330 Patching Array hard
331 Verify Preorder Serialization of a Binary Tree medium
332 Reconstruct Itinerary medium
333 Largest BST Subtree medium 🔒
334 Increasing Triplet Subsequence medium
335 Self Crossing hard cpp
336 Palindrome Pairs hard
337 House Robber III medium
338 Counting Bits medium
339 Nested List Weight Sum easy 🔒
340 Longest Substring with At Most K Distinct Characters hard 🔒
341 Flatten Nested List Iterator medium
342 Power of Four easy
343 Integer Break medium cpp
344 Reverse String easy
345 Reverse Vowels of a String easy
346 Moving Average from Data Stream easy 🔒
347 Top K Frequent Elements medium
348 Design Tic-Tac-Toe medium 🔒
349 Intersection of Two Arrays easy cpp
350 Intersection of Two Arrays II easy cpp
351 Android Unlock Patterns medium 🔒
352 Data Stream as Disjoint Intervals hard
353 Design Snake Game medium 🔒
354 Russian Doll Envelopes hard cpp
355 Design Twitter medium
356 Line Reflection medium 🔒
357 Count Numbers with Unique Digits medium cpp
358 Rearrange String k Distance Apart hard 🔒
359 Logger Rate Limiter easy 🔒
360 Sort Transformed Array medium 🔒
361 Bomb Enemy medium 🔒
362 Design Hit Counter medium 🔒
363 Max Sum of Rectangle No Larger Than K hard cpp
364 Nested List Weight Sum II medium 🔒
365 Water and Jug Problem medium
366 Find Leaves of Binary Tree medium 🔒
367 Valid Perfect Square easy cpp
368 Largest Divisible Subset medium
369 Plus One Linked List medium 🔒
370 Range Addition medium 🔒
371 Sum of Two Integers easy
372 Super Pow medium
373 Find K Pairs with Smallest Sums medium
374 Guess Number Higher or Lower easy cpp
375 Guess Number Higher or Lower II medium
376 Wiggle Subsequence medium
377 Combination Sum IV medium
378 Kth Smallest Element in a Sorted Matrix medium cpp
379 Design Phone Directory medium 🔒
380 Insert Delete GetRandom O(1) medium cpp
381 Insert Delete GetRandom O(1) - Duplicates allowed hard
382 Linked List Random Node medium
383 Ransom Note easy
384 Shuffle an Array medium
385 Mini Parser medium
386 Lexicographical Numbers medium
387 First Unique Character in a String easy cpp
388 Longest Absolute File Path medium
389 Find the Difference easy
390 Elimination Game medium
391 Perfect Rectangle hard
392 Is Subsequence medium cpp
393 UTF-8 Validation medium
394 Decode String medium
395 Longest Substring with At Least K Repeating Characters medium
396 Rotate Function medium
397 Integer Replacement medium
398 Random Pick Index medium
399 Evaluate Division medium
400 Nth Digit easy
401 Binary Watch easy
402 Remove K Digits medium
403 Frog Jump hard
404 Sum of Left Leaves easy
405 Convert a Number to Hexadecimal easy
406 Queue Reconstruction by Height medium
407 Trapping Rain Water II hard
408 Valid Word Abbreviation easy 🔒
409 Longest Palindrome easy
410 Split Array Largest Sum hard cpp
411 Minimum Unique Word Abbreviation hard 🔒
412 Fizz Buzz easy
413 Arithmetic Slices medium
414 Third Maximum Number easy
415 Add Strings easy
416 Partition Equal Subset Sum medium
417 Pacific Atlantic Water Flow medium
418 Sentence Screen Fitting medium 🔒
419 Battleships in a Board medium
420 Strong Password Checker hard
421 Maximum XOR of Two Numbers in an Array medium
422 Valid Word Square easy 🔒
423 Reconstruct Original Digits from English medium
424 Longest Repeating Character Replacement medium
425 Word Squares hard 🔒
432 All O`one Data Structure hard
433 Minimum Genetic Mutation medium
434 Number of Segments in a String easy
435 Non-overlapping Intervals medium
436 Find Right Interval medium cpp
437 Path Sum III easy
438 Find All Anagrams in a String easy
439 Ternary Expression Parser medium 🔒
440 K-th Smallest in Lexicographical Order hard
441 Arranging Coins easy
442 Find All Duplicates in an Array medium c
443 String Compression easy
444 Sequence Reconstruction medium 🔒
445 Add Two Numbers II medium
446 Arithmetic Slices II - Subsequence hard
447 Number of Boomerangs easy
448 Find All Numbers Disappeared in an Array easy c
449 Serialize and Deserialize BST medium
450 Delete Node in a BST medium
451 Sort Characters By Frequency medium
452 Minimum Number of Arrows to Burst Balloons medium
453 Minimum Moves to Equal Array Elements easy
454 4Sum II medium cpp
455 Assign Cookies easy
456 132 Pattern medium
457 Circular Array Loop medium
458 Poor Pigs easy
459 Repeated Substring Pattern easy
460 LFU Cache hard
461 Hamming Distance easy
462 Minimum Moves to Equal Array Elements II medium
463 Island Perimeter easy
464 Can I Win medium
465 Optimal Account Balancing hard 🔒
466 Count The Repetitions hard
467 Unique Substrings in Wraparound String medium
468 Validate IP Address medium
469 Convex Polygon medium 🔒
471 Encode String with Shortest Length hard 🔒
472 Concatenated Words hard
473 Matchsticks to Square medium
474 Ones and Zeroes medium
475 Heaters easy cpp
476 Number Complement easy
477 Total Hamming Distance medium
479 Largest Palindrome Product easy
480 Sliding Window Median hard
481 Magical String medium
482 License Key Formatting easy
483 Smallest Good Base hard cpp
484 Find Permutation medium 🔒
485 Max Consecutive Ones easy c
486 Predict the Winner medium
487 Max Consecutive Ones II medium 🔒
488 Zuma Game hard
490 The Maze medium 🔒
491 Increasing Subsequences medium
492 Construct the Rectangle easy
493 Reverse Pairs hard
494 Target Sum medium
495 Teemo Attacking medium c
496 Next Greater Element I easy
498 Diagonal Traverse medium
499 The Maze III hard 🔒
500 Keyboard Row easy
501 Find Mode in Binary Search Tree easy
502 IPO hard
503 Next Greater Element II medium
504 Base 7 easy
505 The Maze II medium 🔒
506 Relative Ranks easy
507 Perfect Number easy
508 Most Frequent Subtree Sum medium
513 Find Bottom Left Tree Value medium
514 Freedom Trail hard cpp
515 Find Largest Value in Each Tree Row medium
516 Longest Palindromic Subsequence medium
517 Super Washing Machines hard
518 Coin Change 2 medium
520 Detect Capital easy
521 Longest Uncommon Subsequence I easy
522 Longest Uncommon Subsequence II medium
523 Continuous Subarray Sum medium
524 Longest Word in Dictionary through Deleting medium
525 Contiguous Array medium
526 Beautiful Arrangement medium
527 Word Abbreviation hard 🔒
529 Minesweeper medium
530 Minimum Absolute Difference in BST easy
531 Lonely Pixel I medium 🔒
532 K-diff Pairs in an Array easy cpp
533 Lonely Pixel II medium 🔒
535 Encode and Decode TinyURL medium
536 Construct Binary Tree from String medium 🔒
537 Complex Number Multiplication medium
538 Convert BST to Greater Tree easy
539 Minimum Time Difference medium
540 Single Element in a Sorted Array medium
541 Reverse String II easy
542 01 Matrix medium
543 Diameter of Binary Tree easy
544 Output Contest Matches medium 🔒
545 Boundary of Binary Tree medium 🔒
546 Remove Boxes hard
547 Friend Circles medium
548 Split Array with Equal Sum medium 🔒
549 Binary Tree Longest Consecutive Sequence II medium 🔒
551 Student Attendance Record I easy
552 Student Attendance Record II hard cpp
553 Optimal Division medium
554 Brick Wall medium
555 Split Concatenated Strings medium 🔒
556 Next Greater Element III medium
557 Reverse Words in a String III easy
560 Subarray Sum Equals K medium
561 Array Partition I easy c
562 Longest Line of Consecutive One in Matrix medium 🔒
563 Binary Tree Tilt easy
564 Find the Closest Palindrome hard
565 Array Nesting medium cpp
566 Reshape the Matrix easy c
567 Permutation in String medium
568 Maximum Vacation Days hard 🔒
569 Median Employee Salary hard 🔒
570 Managers with at Least 5 Direct Reports medium 🔒
571 Find Median Given Frequency of Numbers hard 🔒
572 Subtree of Another Tree easy
573 Squirrel Simulation medium 🔒
574 Winning Candidate medium 🔒
575 Distribute Candies easy
576 Out of Boundary Paths medium
577 Employee Bonus easy 🔒
578 Get Highest Answer Rate Question medium 🔒
579 Find Cumulative Salary of an Employee hard 🔒
580 Count Student Number in Departments medium 🔒
581 Shortest Unsorted Continuous Subarray easy c
582 Kill Process medium 🔒
583 Delete Operation for Two Strings medium
584 Find Customer Referee easy 🔒
585 Investments in 2016 medium 🔒
586 Customer Placing the Largest Number of Orders easy 🔒
587 Erect the Fence hard
588 Design In-Memory File System hard 🔒
591 Tag Validator hard
592 Fraction Addition and Subtraction medium
593 Valid Square medium
594 Longest Harmonious Subsequence easy
595 Big Countries easy
596 Classes More Than 5 Students easy
597 Friend Requests I: Overall Acceptance Rate easy 🔒
598 Range Addition II easy
599 Minimum Index Sum of Two Lists easy
600 Non-negative Integers without Consecutive Ones hard
601 Human Traffic of Stadium hard
602 Friend Requests II: Who Has the Most Friends medium 🔒
603 Consecutive Available Seats easy 🔒
604 Design Compressed String Iterator easy 🔒
605 Can Place Flowers easy c
606 Construct String from Binary Tree easy
607 Sales Person easy 🔒
608 Tree Node medium 🔒
609 Find Duplicate File in System medium
610 Triangle Judgement easy 🔒
611 Valid Triangle Number medium
612 Shortest Distance in a Plane medium 🔒
613 Shortest Distance in a Line easy 🔒
614 Second Degree Follower medium 🔒
615 Average Salary: Departments VS Company hard 🔒
616 Add Bold Tag in String medium 🔒
617 Merge Two Binary Trees easy c
618 Students Report By Geography hard 🔒
619 Biggest Single Number easy 🔒
620 Not Boring Movies easy
621 Task Scheduler medium c
623 Add One Row to Tree medium
624 Maximum Distance in Arrays easy 🔒
625 Minimum Factorization medium 🔒
626 Exchange Seats medium
627 Swap Salary easy
628 Maximum Product of Three Numbers easy c
629 K Inverse Pairs Array hard
630 Course Schedule III hard
631 Design Excel Sum Formula hard 🔒
632 Smallest Range hard
633 Sum of Square Numbers easy
634 Find the Derangement of An Array medium 🔒
635 Design Log Storage System medium 🔒
636 Exclusive Time of Functions medium
637 Average of Levels in Binary Tree easy
638 Shopping Offers medium
639 Decode Ways II hard
640 Solve the Equation medium
642 Design Search Autocomplete System hard 🔒
643 Maximum Average Subarray I easy
644 Maximum Average Subarray II hard 🔒
645 Set Mismatch easy
646 Maximum Length of Pair Chain medium cpp
647 Palindromic Substrings medium cpp
648 Replace Words medium
649 Dota2 Senate medium
650 2 Keys Keyboard medium
651 4 Keys Keyboard medium 🔒
652 Find Duplicate Subtrees medium
653 Two Sum IV - Input is a BST easy
654 Maximum Binary Tree medium cpp
655 Print Binary Tree medium
656 Coin Path hard 🔒
657 Judge Route Circle easy
658 Find K Closest Elements medium cpp
659 Split Array into Consecutive Subsequences medium
660 Remove 9 hard 🔒
661 Image Smoother easy
662 Maximum Width of Binary Tree medium
663 Equal Tree Partition medium 🔒
664 Strange Printer hard
665 Non-decreasing Array easy
666 Path Sum IV medium 🔒
667 Beautiful Arrangement II medium
668 Kth Smallest Number in Multiplication Table hard cpp
669 Trim a Binary Search Tree easy
670 Maximum Swap medium cpp
671 Second Minimum Node In a Binary Tree easy
672 Bulb Switcher II medium
673 Number of Longest Increasing Subsequence medium
674 Longest Continuous Increasing Subsequence easy c
675 Cut Off Trees for Golf Event hard
676 Implement Magic Dictionary medium
677 Map Sum Pairs medium
678 Valid Parenthesis String medium
679 24 Game hard
680 Valid Palindrome II easy
681 Next Closest Time medium 🔒
682 Baseball Game easy
683 K Empty Slots hard 🔒
684 Redundant Connection medium
685 Redundant Connection II hard
686 Repeated String Match easy
687 Longest Univalue Path easy
688 Knight Probability in Chessboard medium
689 Maximum Sum of 3 Non-Overlapping Subarrays hard c
690 Employee Importance easy
691 Stickers to Spell Word hard
692 Top K Frequent Words medium
693 Binary Number with Alternating Bits easy
694 Number of Distinct Islands medium 🔒
695 Max Area of Island easy
696 Count Binary Substrings easy
697 Degree of an Array easy
698 Partition to K Equal Sum Subsets medium
699 Falling Squares hard
711 Number of Distinct Islands II hard 🔒
712 Minimum ASCII Delete Sum for Two Strings medium
713 Subarray Product Less Than K medium c
714 Best Time to Buy and Sell Stock with Transaction Fee medium
715 Range Module hard
716 Max Stack hard 🔒
717 1-bit and 2-bit Characters easy
718 Maximum Length of Repeated Subarray medium cpp
719 Find K-th Smallest Pair Distance hard cpp
720 Longest Word in Dictionary easy
721 Accounts Merge medium
722 Remove Comments medium
723 Candy Crush medium 🔒
724 Find Pivot Index easy
725 Split Linked List in Parts medium
726 Number of Atoms hard
727 Minimum Window Subsequence hard 🔒
728 Self Dividing Numbers easy
729 My Calendar I medium
730 Count Different Palindromic Subsequences hard
731 My Calendar II medium
732 My Calendar III hard
733 Flood Fill easy
734 Sentence Similarity easy 🔒
735 Asteroid Collision medium
736 Parse Lisp Expression hard
737 Sentence Similarity II medium 🔒
738 Monotone Increasing Digits medium
739 Daily Temperatures medium
740 Delete and Earn medium
741 Cherry Pickup hard
743 Closest Leaf in a Binary Tree medium 🔒
744 Network Delay Time medium cpp
745 Find Smallest Letter Greater Than Target easy
746 Prefix and Suffix Search hard
747 Min Cost Climbing Stairs easy cpp
748 Largest Number At Least Twice of Others easy
749 Shortest Completing Word medium
750 Contain Virus hard
751 Number Of Corner Rectangles medium 🔒
752 IP to CIDR easy 🔒
753 Open the Lock medium
754 Cracking the Safe hard
755 Reach a Number medium
756 Pour Water medium 🔒
757 Pyramid Transition Matrix medium
759 Set Intersection Size At Least Two hard
760 Bold Words in String easy 🔒
761 Employee Free Time hard 🔒
762 Find Anagram Mappings easy 🔒
763 Special Binary String hard
767 Prime Number of Set Bits in Binary Representation easy
768 Partition Labels medium
769 Largest Plus Sign medium
770 Couples Holding Hands hard
777 Toeplitz Matrix easy
778 Reorganize String medium cpp
779 Max Chunks To Make Sorted II hard
780 Max Chunks To Make Sorted medium
781 Basic Calculator IV hard
782 Jewels and Stones easy
785 Basic Calculator III hard 🔒
787 Sliding Puzzle hard
788 Minimize Max Distance to Gas Station hard 🔒
790 Global and Local Inversions medium
791 Split BST medium 🔒
793 Swap Adjacent in LR String medium cpp
794 Swim in Rising Water hard
795 K-th Symbol in Grammar medium
796 Reaching Points hard
797 Rabbits in Forest medium
798 Transform to Chessboard hard
799 Minimum Distance Between BST Nodes easy
800 Letter Case Permutation easy
801 Is Graph Bipartite? medium
802 K-th Smallest Prime Fraction hard
803 Cheapest Flights Within K Stops medium
804 Rotated Digits easy
805 Escape The Ghosts medium
806 Domino and Tromino Tiling medium
807 Custom Sort String medium
808 Number of Matching Subsequences medium
809 Preimage Size of Factorial Zeroes Function hard
810 Valid Tic-Tac-Toe State medium
811 Number of Subarrays with Bounded Maximum medium
812 Rotate String easy
813 All Paths From Source to Target medium
814 Smallest Rotation with Highest Score hard
815 Champagne Tower medium
818 Similar RGB Color easy 🔒
819 Minimum Swaps To Make Sequences Increasing medium
820 Find Eventual Safe States medium
821 Bricks Falling When Hit hard
822 Unique Morse Code Words easy
823 Split Array With Same Average hard

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.