Algorithms

# Title Solution
1140 Stone Game II C++
1139 Largest 1-Bordered Square C++
1138 Alphabet Board Path C++
1137 N-th Tribonacci Number C++
1136 Parallel Courses C++
1135 Connecting Cities With Minimum Cost C++
1134 Armstrong Number C++
1133 Largest Unique Number C++
1131 Maximum of Absolute Value Expression C++
1130 Minimum Cost Tree From Leaf Values C++
1129 Shortest Path with Alternating Colors C++
1128 Number of Equivalent Domino Pairs C++
1125 Smallest Sufficient Team C++
1124 Longest Well-Performing Interval C++
1123 Lowest Common Ancestor of Deepest Leaves C++
1122 Relative Sort Array C++
1121 Divide Array Into Increasing Sequences C++
1120 Maximum Average Subtree C++
1119 Remove Vowels from a String C++
1118 Number of Days in a Month C++
1111 Maximum Nesting Depth of Two Valid Parentheses Strings C++
1110 Delete Nodes And Return Forest C++
1109 Corporate Flight Bookings C++
1108 Defanging an IP Address C++
1106 Parsing A Boolean Expression C++
1105 Filling Bookcase Shelves C++
1104 Path In Zigzag Labelled Binary Tree C++
1103 Distribute Candies to People C++
1102 Path With Maximum Minimum Value C++
1101 The Earliest Moment When Everyone Become Friends C++
1100 Find K-Length Substrings With No Repeated Characters C++
1099 Two Sum Less Than K C++
1089 Duplicate Zeros C++
1087 Brace Expansion C++
1081 Smallest Subsequence of Distinct Characters C++
1080 Insufficient Nodes in Root to Leaf Paths C++
1079 Letter Tile Possibilities C++
1078 Occurrences After Bigram C++
1073 Adding Two Negabinary Numbers C++
1066 Campus Bikes II C++
1057 Campus Bikes C++
1054 Distant Barcodes C++
1053 Previous Permutation With One Swap C++
1052 Grumpy Bookstore Owner C++
1051 Height Checker C++
1040 Moving Stones Until Consecutive II C++
1039 Minimum Score Triangulation of Polygon C++
1038 Binary Search Tree to Greater Sum Tree C++
1037 Valid Boomerang C++
1036 Escape a Large Maze C++
1035 Uncrossed Lines C++
1034 Coloring A Border C++
1033 Moving Stones Until Consecutive C++
1032 Stream of Characters C++
1030 Matrix Cells in Distance Order C++
1029 Two City Scheduling C++
1027 Longest Arithmetic Sequence C++
1024 Video Stitching C++
1023 Camelcase Matching C++
1021 Remove Outermost Parentheses C++
1020 Number of Enclaves C++
973 K Closest Points to Origin C++
964 Least Operators to Express Number C++
943 Find the Shortest Superstring C++
939 Minimum Area Rectangle C++
938 Range Sum of BST C++
937 Reorder Log Files C++
919 Complete Binary Tree Inserter C++
917 Reverse Only Letters C++
889 Construct Binary Tree from Preorder and Postorder Traversal C++
864 Shortest Path to Get All Keys C++
859 Buddy Strings C++
857 Minimum Cost to Hire K Workers C++
858 Mirror Reflection C++
847 Shortest Path Visiting All Nodes C++
840 Magic Squares In Grid C++
830 Positions of Large Groups C++
825 Friends Of Appropriate Ages C++
824 Goat Latin C++
817 Linked List Components C++
816 Ambiguous Coordinates C++
815 Bus Routes C++
813 Largest Sum of Averages C++
812 Largest Triangle Area C++
809 Expressive Words C++
808 Soup Servings C++
805 Split Array With Same Average C++
802 Find Eventual Safe States C++
801 Minimum Swaps To Make Sequences Increasing C++
792 Number of Matching Subsequences C++
790 Domino and Tromino Tiling C++
787 Cheapest Flights Within K Stops C++
786 K-th Smallest Prime Fraction C++
785 Is Graph Bipartite? C++
784 Letter Case Permutation C++
780 Reaching Points C++
779 K-th Symbol in Grammar C++
778 Swim in Rising Water C++
777 Swap Adjacent in LR String C++
774 Minimize Max Distance to Gas Station C++
772 Basic Calculator III C++
771 Jewels and Stones C++
770 Basic Calculator IV C++
769 Max Chunks To Make Sorted C++
768 Max Chunks To Make Sorted II C++
767 Reorganize String C++
766 Toeplitz Matrix C++
765 Couples Holding Hands C++
764 Largest Plus Sign C++
763 Partition Labels C++
762 Prime Number of Set Bits in Binary Representation C++
760 Find Anagram Mappings C++
758 Bold Words in String C++
756 Pyramid Transition Matrix C++
753 Cracking the Safe C++
752 Open the Lock C++
750 Number Of Corner Rectangles C++
749 Contain Virus C++
748 Shortest Completing Word C++
747 Largest Number At Least Twice of Others C++
746 Min Cost Climbing Stairs C++
745 Prefix and Suffix Search C++
744 Find Smallest Letter Greater Than Target C++
743 Network Delay Time C++
740 Delete and Earn C++
739 Daily Temperatures C++
738 Monotone Increasing Digits C++
737 Sentence Similarity II C++
735 Asteroid Collision C++
734 Sentence Similarity C++
733 Flood Fill C++
732 My Calendar III C++
731 My Calendar II C++
729 My Calendar I C++
728 Self Dividing Numbers C++
727 Minimum Window Subsequence C++
726 Number of Atoms C++
725 Split Linked List in Parts C++
724 Find Pivot Index C++
722 Remove Comments C++
721 Accounts Merge C++
720 Longest Word in Dictionary C++
719 Find K-th Smallest Pair Distance C++
718 Maximum Length of Repeated Subarray C++
717 1-bit and 2-bit Characters C++
716 Max Stack C++
715 Range Module C++
714 Best Time to Buy and Sell Stock with Transaction Fee C++
713 Subarray Product Less Than K C++
712 Minimum ASCII Delete Sum for Two Strings C++
698 Partition to K Equal Sum Subsets C++
697 Degree of an Array C++
696 Count Binary Substrings C++
695 Max Area of Island C++
694 Number of Distinct Islands C++
693 Binary Number with Alternating Bits C++
692 Top K Frequent Words C++
690 Employee Importance C++
689 Maximum Sum of 3 Non-Overlapping Subarrays C++
688 Knight Probability in Chessboard C++
687 Longest Univalue Path C++
686 Repeated String Match C++
685 Redundant Connection II C++
684 Redundant Connection C++
682 Baseball Game C++, Java, Python
681 Next Closest Time C++, Java, Python
680 Valid Palindrome II C++, Java, Python
679 24 Game C++
678 Valid Parenthesis String C++
677 Map Sum Pairs C++, Java, Python
676 Implement Magic Dictionary C++, Java, Python
675 Cut Off Trees for Golf Event C++
674 Longest Continuous Increasing Subsequence C++, Java, Python
673 Number of Longest Increasing Subsequence C++
672 Bulb Switcher II C++, Java, Python
671 Second Minimum Node In a Binary Tree C++, Java, Python
670 Maximum Swap C++
669 Trim a Binary Search Tree C++, Java, Python
667 Beautiful Arrangement II C++
666 Path Sum IV C++
665 Non-decreasing Array C++, Java, Python
663 Equal Tree Partition C++
662 Maximum Width of Binary Tree C++
661 Image Smoother C++
660 Remove 9 C++
659 Split Array into Consecutive Subsequences C++
658 Find K Closest Elements C++
657 Judge Route Circle C++
655 Print Binary Tree C++
653 Two Sum IV - Input is a BST C++
652 Find Duplicate Subtrees C++
651 4 Keys Keyboard C++
650 2 Keys Keyboard C++
649 Dota2 Senate C++
648 Replace Words C++
647 Palindromic Substrings C++
646 Maximum Length of Pair Chain C++
645 Set Mismatch C++
644 Maximum Average Subarray II C++
643 Maximum Average Subarray I C++
642 Design Search Autocomplete System C++
640 Solve the Equation C++
639 Decode Ways II C++
638 Shopping Offers C++
637 Average of Levels in Binary Tree C++
636 Exclusive Time of Functions C++, Java, Python
635 Design Log Storage System C++
634 Find the Derangement of An Array C++
633 Sum of Square Numbers C++
632 Smallest Range C++
630 Course Schedule III C++
628 Maximum Product of Three Numbers C++
625 Minimum Factorization C++
624 Maximum Distance in Arrays C++
623 Add One Row to Tree C++
617 Merge Two Binary Trees C++
616 Add Bold Tag in String C++
611 Valid Triangle Number C++
609 Find Duplicate File in System C++
606 Construct String from Binary Tree C++
605 Can Place Flowers C++
604 Design Compressed String Iterator C++
600 Non-negative Integers without Consecutive Ones C++
599 Minimum Index Sum of Two Lists C++
598 Range Addition II C++
594 Longest Harmonious Subsequence C++
593 Valid Square C++
592 Fraction Addition and Subtraction C++
591 Tag Validator C++
588 Design In-Memory File System C++
587 Erect the Fence C++
583 Delete Operation for Two Strings C++
582 Kill Process C++
581 Shortest Unsorted Continuous Subarray C++
576 Out of Boundary Paths C++
575 Distribute Candies C++
573 Squirrel Simulation C++
572 Subtree of Another Tree C++
568 Maximum Vacation Days C++
567 Permutation in String C++
566 Reshape the Matrix C++
565 Array Nesting C++
564 Find the Closest Palindrome C++
563 Binary Tree Tilt C++
562 Longest Line of Consecutive One in Matrix C++
561 Array Partition I C++
560 Subarray Sum Equals K C++
557 Reverse Words in a String III C++
556 Next Greater Element III C++
555 Split Concatenated Strings C++
554 Brick Wall C++
553 Optimal Division C++
552 Student Attendance Record II C++
551 Student Attendance Record I C++
549 Binary Tree Longest Consecutive Sequence II C++
548 Split Array with Equal Sum C++
547 Friend Circles C++
546 Remove Boxes C++
545 Boundary of Binary Tree C++
544 Output Contest Matches C++
543 Diameter of Binary Tree C++
542 01 Matrix C++
541 Reverse String II C++
540 Single Element in a Sorted Array C++
539 Minimum Time Difference C++
538 Convert BST to Greater Tree C++
537 Complex Number Multiplication C++
536 Construct Binary Tree from String C++
535 Encode and Decode TinyURL C++
533 Lonely Pixel II C++
532 K-diff Pairs in an Array C++
531 Lonely Pixel I C++
530 Minimum Absolute Difference in BST C++
529 Minesweeper C++
527 Word Abbreviation C++
526 Beautiful Arrangement C++
525 Contiguous Array C++
524 Longest Word in Dictionary through Deleting C++
523 Continuous Subarray Sum C++
522 Longest Uncommon Subsequence II C++
521 Longest Uncommon Subsequence I C++
520 Detect Capital C++
518 Coin Change 2 C++
517 Super Washing Machines C++
516 Longest Palindromic Subsequence C++
515 Find Largest Value in Each Tree Row C++
514 Freedom Trail C++
513 Find Bottom Left Tree Value C++
508 Most Frequent Subtree Sum C++
507 Perfect Number C++
506 Relative Ranks C++
505 The Maze II C++
504 Base 7 C++
503 Next Greater Element II C++
502 IPO C++
501 Find Mode in Binary Search Tree C++
500 Keyboard Row C++
499 The Maze III C++
498 Diagonal Traverse C++
496 Next Greater Element I C++
495 Teemo Attacking C++
494 Target Sum C++
493 Reverse Pairs C++
492 Construct the rectangle C++
491 Increasing Subsequences C++
490 The Maze C++
488 Zuma Game C++
487 Max Consecutive Ones II C++
486 Predict the Winner C++
485 Max Consecutive Ones C++
484 Find Permutation C++
483 Smallest Good Base C++
482 License Key Formatting C++
481 Magical String C++
480 Sliding Window Median C++
479 Largest Palindrome Product C++
477 Total Hamming Distance C++
476 Number Complement C++
475 Heaters C++
474 Ones and Zeroes C++
473 Matchsticks to Square C++
472 Concatenated Words C++
471 Encode String with Shortest Length C++
469 Convex Polygon C++
468 Validate IP Address C++
467 Unique Substrings in Wraparound String C++
466 Count The Repetitions C++
465 Optimal Account Balancing C++
464 Can I Win C++
463 Island Perimeter C++
462 Minimum Moves to Equal Array Elements II C++
461 Hamming Distance C++
460 LFU Cache C++
459 Repeated Substring Pattern C++
458 Poor Pigs C++
457 Circular Array Loop C++
456 132 Pattern C++
455 Assign Cookies C++
454 4Sum II C++
453 Minimum Moves to Equal Array Elements C++
452 Minimum Number of Arrows to Burst Balloons C++
451 Sort Characters By Frequency C++
450 Delete Node in a BST C++
449 Serialize and Deserialize BST C++
448 Find All Numbers Disappeared in an Array C++
447 Number of Boomerangs C++
446 Arithmetic Slices II - Subsequence C++
445 Add Two Numbers II C++
444 Sequence Reconstruction C++
443 String Compression C++
442 Find All Duplicates in an Array C++
441 Arranging Coins C++
440 K-th Smallest in Lexicographical Order C++
439 Ternary Expression Parser C++
438 Find All Anagrams in a String C++
437 Path Sum III C++
436 Find Right Interval C++
435 Non-overlapping Intervals C++
434 Number of Segments in a String C++
433 Minimum Genetic Mutation C++
432 All O`one Data Structure C++
425 Word Squares C++
424 Longest Repeating Character Replacement C++
423 Reconstruct Original Digits from English C++
422 Valid Word Square C++
421 Maximum XOR of Two Numbers in an Array C++, Java
420 Strong Password Checker C++
419 Battleships in a Board C++
418 Sentence Screen Fitting C++
417 Pacific Atlantic Water Flow C++
416 Partition Equal Subset Sum C++
415 Add Strings C++
414 Third Maximum Number C++
413 Arithmetic Slices C++
412 Fizz Buzz C++
411 Minimum Unique Word Abbreviation C++
410 Split Array Largest Sum C++
409 Longest Palindrome C++
408 Valid Word Abbreviation C++
407 Trapping Rain Water II C++
406 Queue Reconstruction by Height C++
405 Convert a Number to Hexadecimal C++
404 Sum of Left Leaves C++
403 Frog Jump C++
402 Remove K Digits C++
401 Binary Watch C++
400 Nth Digit C++
399 Evaluate Division C++, Java
398 Random Pick Index C++
397 Integer Replacement C++
396 Rotate Function C++
395 Longest Substring with At Least K Repeating Characters C++
394 Decode String C++
393 UTF-8 Validation C++
392 Is Subsequence C++
391 Perfect Rectangle C++
390 Elimination Game C++
389 Find the Difference C++
388 Longest Absolute File Path C++
387 First Unique Character in a String C++
386 Lexicographical Numbers C++
385 Mini Parser C++
384 Shuffle an Array C++
383 Ransom Note C++
382 Linked List Random Node C++
381 Insert Delete GetRandom O(1) - Duplicates allowed C++
380 Insert Delete GetRandom O(1) C++
379 Design Phone Directory C++
378 Kth Smallest Element in a Sorted Matrix C++
377 Combination Sum IV C++
376 Wiggle Subsequence C++
375 Guess Number Higher or Lower II C++
374 Guess Number Higher or Lower C++
373 Find K Pairs with Smallest Sums C++
372 Super Pow C++
371 Sum of Two Integers C++
370 Range Addition C++
369 Plus One Linked List C++
368 Largest Divisible Subset C++
367 Valid Perfect Square C++
366 Find Leaves of Binary Tree C++
365 Water and Jug Problem C++
364 Nested List Weight Sum II C++
363 Max Sum of Rectangle No Larger Than K C++
362 Design Hit Counter C++
361 Bomb Enemy C++
360 Sort Transformed Array C++
359 Logger Rate Limiter C++
358 Rearrange String k Distance Apart C++
357 Count Numbers with Unique Digits C++
356 Line Reflection C++
355 Design Twitter C++
354 Russian Doll Envelopes C++
353 Design Snake Game C++
352 Data Stream as Disjoint Intervals C++
351 Android Unlock Patterns C++
350 Intersection of Two Arrays II C++
349 Intersection of Two Arrays C++
348 Design Tic-Tac-Toe C++
347 Top K Frequent Elements C++
346 Moving Average from Data Stream C++
345 Reverse Vowels of a String C++
344 Reverse String C++
343 Integer Break C++
342 Power of Four C++
341 Flatten Nested List Iterator C++
340 Longest Substring with At Most K Distinct Characters C++
339 Nested List Weight Sum C++
337 House Robber III C++
336 Palindrome Pairs C++
335 Self Crossing C++
334 Increasing Triplet Subsequence C++
333 Largest BST Subtree C++
332 Reconstruct Itinerary C++
331 Verify Preorder Serialization of a Binary Tree C++
330 Patching Array C++
329 Longest Increasing Path in a Matrix C++
328 Odd Even Linked List C++
327 Count of Range Sum C++
325 Maximum Size Subarray Sum Equals k C++
324 Wiggle Sort II C++
323 Number of Connected Components in an Undirected Graph C++
322 Coin Change C++
321 Create Maximum Number C++
320 Generalized Abbreviation C++
319 Bulb Switcher C++
318 Maximum Product of Word Lengths C++
317 Shortest Distance from All Buildings C++
316 Remove Duplicate Letters C++
315 Count of Smaller Numbers After Self C++
314 Binary Tree Vertical Order Traversal C++
313 Super Ugly Number C++
312 Burst Balloons C++
311 Sparse Matrix Multiplication C++
310 Minimum Height Trees C++
309 Best Time to Buy and Sell Stock with Cooldown C++
308 Range Sum Query 2D - Mutable C++
307 Range Sum Query - Mutable C++
306 Additive Number C++
305 Number of Islands II C++
304 Range Sum Query 2D - Immutable C++
302 Smallest Rectangle Enclosing Black Pixels C++
301 Remove Invalid Parentheses C++
300 Longest Increasing Subsequence C++
299 Bulls and Cows C++
298 Binary Tree Longest Consecutive Sequence C++
297 Serialize and Deserialize Binary Tree C++
296 Best Meeting Point C++
295 Find Median from Data Stream C++
294 Flip Game II C++
293 Flip Game C++
292 Nim Game C++
291 Word Pattern II C++
290 Word Pattern C++
289 Game of Life C++
288 Unique Word Abbreviation C++
287 Find the Duplicate Number C++
286 Walls and Gates C++
285 Inorder Successor in BST C++
284 Peeking Iterator C++
283 Move Zeroes C++
282 Expression Add Operators C++
281 Zigzag Iterator C++
280 Wiggle Sort C++
279 Perfect Squares C++
278 First Bad Version C++
277 Find the Celebrity C++
276 Paint Fence C++
275 H-Index II C++
274 H-Index C++
273 Integer to English Words C++
272 Closest Binary Search Tree Value II C++
271 Encode and Decode Strings C++
270 Closest Binary Search Tree Value C++
269 Alien Dictionary C++
268 Missing Number C++
266 Palindrome Permutation C++
265 Paint House II C++
264 Ugly Number II C++
263 Ugly Number C++
260 Single Number III C++
259 3Sum Smaller C++
258 Add Digits C++
261 Graph Valid Tree C++
257 Binary Tree Paths C++
256 Paint House C++
255 Verify Preorder Sequence in Binary Search Tree C++
254 Factor Combinations C++
253 Meeting Rooms II C++
252 Meeting Rooms C++
251 Flatten 2D Vector C++
250 Count Univalue Subtrees C++
248 Strobogrammatic Number III C++
247 Strobogrammatic Number II C++
246 Strobogrammatic Number C++
245 Shortest Word Distance III C++
244 Shortest Word Distance II C++
243 Shortest Word Distance C++
242 Valid Anagram C++
241 Different Ways to Add Parentheses C++
240 Search a 2D Matrix II C++
239 Sliding Window Maximum C++
238 Product of Array Except Self C++
237 Delete Node in a Linked List C++
236 Lowest Common Ancestor of a Binary Tree C++
235 Lowest Common Ancestor of a Binary Search Tree C++
234 Palindrome Linked List C++
233 Number of Digit One C++
232 Implement Queue using Stacks C++
231 Power of Two C++
230 Kth Smallest Element in a BST C++
229 Majority Element II C++
228 Summary Ranges C++
227 Basic Calculator II C++
226 Invert Binary Tree C++
225 Implement Stack using Queues C++
224 Basic Calculator C++
223 Rectangle Area C++
222 Count Complete Tree Nodes C++
221 Maximal Square C++
220 Contains Duplicate III C++
219 Contains Duplicate II C++
218 The Skyline Problem C++
217 Contains Duplicate C++
216 Combination Sum III C++
215 Kth Largest Element in an Array C++
214 Shortest Palindrome C++
213 House Robber II C++
212 Word Search II C++
211 Add and Search Word - Data structure design C++
210 Course Schedule II C++
209 Minimum Size Subarray Sum C++
208 Implement Trie (Prefix Tree) C++
207 Course Schedule C++
206 Reverse Linked List C++
205 Isomorphic Strings C++
204 Count Primes C++
203 Remove Linked List Elements C++
202 Happy Number C++
201 Bitwise AND of Numbers Range C++
200 Number of Islands C++
199 Binary Tree Right Side View C++
198 House Robber C++
191 Number of 1 Bits C++
189 Rotate Array C++
188 Best Time to Buy and Sell Stock IV C++
187 Repeated DNA Sequences C++
179 Largest Number C++
174 Dungeon Game C++
173 Binary Search Tree Iterator C++
172 Factorial Trailing Zeroes C++
171 Excel Sheet Column Number C++
170 Two Sum III - Data structure design C++
169 Majority Element C++
168 Excel Sheet Column Title C++
167 Two Sum II - Input array is sorted C++
166 Fraction to Recurring Decimal C++
165 Compare Version Numbers C++
164 Maximum Gap C++
163 Missing Ranges C++
162 Find Peak Element C++
161 One Edit Distance C++
160 Intersection of Two Linked Lists C++
159 Longest Substring with At Most Two Distinct Characters C++
158 Read N Characters Given Read4 II - Call multiple times C++
157 Read N Characters Given Read4 C++
156 Binary Tree Upside Down C++
155 Min Stack C++
154 Find Minimum in Rotated Sorted Array II C++
153 Find Minimum in Rotated Sorted Array C++
152 Maximum Product Subarray C++
151 Reverse Words in a String C++
150 Evaluate Reverse Polish Notation C++
149 Max Points on a Line C++
148 Sort List C++
147 Insertion Sort List C++
146 LRU Cache C++
145 Binary Tree Postorder Traversal C++
144 Binary Tree Preorder Traversal C++
143 Reorder List C++
142 Linked List Cycle II C++
141 Linked List Cycle C++
140 Word Break II C++
139 Word Break C++
138 Copy List with Random Pointer C++
137 Single Number II C++
136 Single Number C++
135 Candy C++
134 Gas Station C++
133 Clone Graph C++
132 Palindrome Partitioning II C++
131 Palindrome Partitioning C++
130 Surrounded Regions C++
129 Sum Root to Leaf Numbers C++
128 Longest Consecutive Sequence C++
127 Word Ladder C++
126 Word Ladder II C++
125 Valid Palindrome C++
124 Binary Tree Maximum Path Sum C++
123 Best Time to Buy and Sell Stock III C++
122 Best Time to Buy and Sell Stock II C++
121 Best Time to Buy and Sell Stock C++
120 Triangle C++
119 Pascal's Triangle II C++
118 Pascal's Triangle C++
117 Populating Next Right Pointers in Each Node II C++
116 Populating Next Right Pointers in Each Node C++
115 Distinct Subsequences C++
114 Flatten Binary Tree to Linked List C++
113 Path Sum II C++
112 Path Sum C++
111 Minimum Depth of Binary Tree C++
110 Balanced Binary Tree C++
109 Convert Sorted List to Binary Search Tree C++
108 Convert Sorted Array to Binary Search Tree C++
107 Binary Tree Level Order Traversal II C++
106 Construct Binary Tree from Inorder and Postorder Traversal C++
105 Construct Binary Tree from Preorder and Inorder Traversal C++
104 Maximum Depth of Binary Tree C++
103 Binary Tree Zigzag Level Order Traversal C++
102 Binary Tree Level Order Traversal C++
101 Symmetric Tree C++
100 Same Tree C++
99 Recover Binary Search Tree C++
98 Validate Binary Search Tree C++
97 Interleaving String C++
96 Unique Binary Search Trees C++
95 Unique Binary Search Trees II C++
94 Binary Tree Inorder Traversal C++
93 Restore IP Addresses C++
92 Reverse Linked List II C++
91 Decode Ways C++
90 Subsets II C++
89 Gray Code C++
88 Merge Sorted Array C++
87 Scramble String C++
86 Partition List C++
85 Maximal Rectangle C++
84 Largest Rectangle in Histogram C++
83 Remove Duplicates from Sorted List C++
82 Remove Duplicates from Sorted List II C++
81 Search in Rotated Sorted Array II C++
80 Remove Duplicates from Sorted Array II C++
79 Word Search C++
78 Subsets C++
77 Combinations C++
76 Minimum Window Substring C++
75 Sort Colors C++
74 Search a 2D Matrix C++
73 Set Matrix Zeroes C++
72 Edit Distance C++
71 Simplify Path C++
70 Climbing Stairs C++
69 Sqrt(x) C++
68 Text Justification C++
67 Add Binary C++
66 Plus One C++
65 Valid Number C++
64 Minimum Path Sum C++
63 Unique Paths II C++
62 Unique Paths C++
61 Rotate List C++
60 Permutation Sequence C++
59 Spiral Matrix II C++
58 Length of Last Word C++
57 Insert Interval C++
56 Merge Intervals C++
55 Jump Game C++
54 Spiral Matrix C++
53 Maximum Subarray C++
52 N-Queens II C++
51 N-Queens C++
50 Pow(x, n) C++
49 Group Anagrams C++
48 Rotate Image C++
47 Permutations II C++
46 Permutations C++
45 Jump Game II C++
44 Wildcard Matching C++
43 Multiply Strings C++
42 Trapping Rain Water C++
41 First Missing Positive C++
40 Combination Sum II C++
39 Combination Sum C++
38 Count and Say C++
37 Sudoku Solver C++
36 Valid Sudoku C++
35 Search Insert Position C++
34 Search for a Range C++
33 Search in Rotated Sorted Array C++
32 Longest Valid Parentheses C++
31 Next Permutation C++
30 Substring with Concatenation of All Words C++
29 Divide Two Integers C++
28 Implement strStr() C++
27 Remove Element C++
26 Remove Duplicates from Sorted Array C++
25 Reverse Nodes in k-Group C++
24 Swap Nodes in Pairs C++
23 Merge k Sorted Lists C++
22 Generate Parentheses C++
21 Merge Two Sorted Lists C++
20 Valid Parentheses C++
19 Remove Nth Node From End of List C++
18 4Sum C++
17 Letter Combinations of a Phone Number C++
16 3Sum Closest C++
15 3Sum C++
14 Longest Common Prefix C++
13 Roman to Integer C++
12 Integer to Roman C++
11 Container With Most Water C++
10 Regular Expression Matching C++
9 Palindrome Number C++
8 String to Integer (atoi) C++
7 Reverse Integer C++
6 ZigZag Conversion C++
5 Longest Palindromic Substring C++, C, Java, C#
4 Median of Two Sorted Arrays C++, C#
3 Longest Substring Without Repeating Characters C++, C#
2 Add Two Numbers C++, C#
1 Two Sum C++, C#

Database

# Title Solution
608 Tree Node MySQL
586 Customer Placing the Largest Number of Orders MySQL
585 Investments in 2016 MySQL
580 Count Student Number in Departments MySQL
182 Duplicate Emails MySQL