Skip to content

fruit-in/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

δΈ­ζ–‡

Problems

# Title Languages
1 Two Sum pyΒ Β rsΒ Β c
2 Add Two Numbers pyΒ Β rb
3 Longest Substring Without Repeating Characters rs
4 Median of Two Sorted Arrays rs
5 Longest Palindromic Substring rs
6 ZigZag Conversion py
7 Reverse Integer pyΒ Β c
8 String to Integer (atoi) py
9 Palindrome Number pyΒ Β c
11 Container With Most Water rsΒ Β c
12 Integer to Roman pyΒ Β rb
13 Roman to Integer rs
14 Longest Common Prefix py
15 3Sum rs
16 3Sum Closest rs
17 Letter Combinations of a Phone Number py
18 4Sum rs
19 Remove Nth Node From End of List pyΒ Β rb
20 Valid Parentheses py
21 Merge Two Sorted Lists py
22 Generate Parentheses rs
24 Swap Nodes in Pairs py
26 Remove Duplicates from Sorted Array rs
27 Remove Element rbΒ Β rs
28 Implement strStr() py
31 Next Permutation rs
33 Search in Rotated Sorted Array rs
34 Find First and Last Position of Element in Sorted Array rs
35 Search Insert Position py
36 Valid Sudoku rs
38 Count and Say pyΒ Β rb
39 Combination Sum rb
41 First Missing Positive rs
42 Trapping Rain Water rs
45 Jump Game II rs
46 Permutations rs
47 Permutations II rs
48 Rotate Image rs
49 Group Anagrams rs
50 Pow(x, n) rs
51 N-Queens py
52 N-Queens II py
53 Maximum Subarray rs
54 Spiral Matrix rs
55 Jump Game rbΒ Β rs
56 Merge Intervals rs
57 Insert Interval rbΒ Β rs
58 Length of Last Word rs
59 Spiral Matrix II rs
60 Permutation Sequence rs
61 Rotate List py
62 Unique Paths rs
63 Unique Paths II rs
64 Minimum Path Sum rbΒ Β rs
66 Plus One rs
67 Add Binary py
69 Sqrt(x) rs
70 Climbing Stairs rs
71 Simplify Path py
73 Set Matrix Zeroes rs
74 Search a 2D Matrix rs
75 Sort Colors rs
77 Combinations py
78 Subsets rs
80 Remove Duplicates from Sorted Array II rs
81 Search in Rotated Sorted Array II rs
82 Remove Duplicates from Sorted List II rb
83 Remove Duplicates from Sorted List py
84 Largest Rectangle in Histogram rs
85 Maximal Rectangle rs
86 Partition List py
88 Merge Sorted Array pyΒ Β rb
89 Gray Code rs
90 Subsets II rs
91 Decode Ways pyΒ Β rb
92 Reverse Linked List II py
93 Restore IP Addresses rs
94 Binary Tree Inorder Traversal pyΒ Β rs
95 Unique Binary Search Trees II py
96 Unique Binary Search Trees rbΒ Β rs
98 Validate Binary Search Tree py
100 Same Tree py
101 Symmetric Tree py
102 Binary Tree Level Order Traversal py
103 Binary Tree Zigzag Level Order Traversal py
104 Maximum Depth of Binary Tree py
105 Construct Binary Tree from Preorder and Inorder Traversal py
106 Construct Binary Tree from Inorder and Postorder Traversal py
107 Binary Tree Level Order Traversal II py
108 Convert Sorted Array to Binary Search Tree py
109 Convert Sorted List to Binary Search Tree py
110 Balanced Binary Tree py
111 Minimum Depth of Binary Tree py
112 Path Sum py
113 Path Sum II py
114 Flatten Binary Tree to Linked List pyΒ Β rb
116 Populating Next Right Pointers in Each Node rb
117 Populating Next Right Pointers in Each Node II py
118 Pascal's Triangle py
119 Pascal's Triangle II py
120 Triangle rs
121 Best Time to Buy and Sell Stock rs
122 Best Time to Buy and Sell Stock II rs
125 Valid Palindrome py
129 Sum Root to Leaf Numbers py
131 Palindrome Partitioning py
133 Clone Graph py
134 Gas Station rbΒ Β rs
136 Single Number rs
137 Single Number II rs
138 Copy List with Random Pointer py
139 Word Break pyΒ Β rb
141 Linked List Cycle py
142 Linked List Cycle II py
144 Binary Tree Preorder Traversal py
145 Binary Tree Postorder Traversal py
146 LRU Cache py
147 Insertion Sort List py
149 Max Points on a Line py
150 Evaluate Reverse Polish Notation rs
151 Reverse Words in a String rs
152 Maximum Product Subarray rs
153 Find Minimum in Rotated Sorted Array rbΒ Β rs
155 Min Stack rs
160 Intersection of Two Linked Lists py
162 Find Peak Element rs
164 Maximum Gap rs
165 Compare Version Numbers rs
166 Fraction to Recurring Decimal rs
167 Two Sum II - Input array is sorted rs
168 Excel Sheet Column Title pyΒ Β rb
169 Majority Element rs
171 Excel Sheet Column Number py
172 Factorial Trailing Zeroes rs
173 Binary Search Tree Iterator py
179 Largest Number rs
187 Repeated DNA Sequences rbΒ Β rs
189 Rotate Array rs
190 Reverse Bits py
191 Number of 1 Bits rs
198 House Robber rs
199 Binary Tree Right Side View py
200 Number of Islands py
201 Bitwise AND of Numbers Range rs
202 Happy Number rbΒ Β rs
203 Remove Linked List Elements py
204 Count Primes rs
205 Isomorphic Strings py
206 Reverse Linked List py
207 Course Schedule rs
208 Implement Trie (Prefix Tree) py
209 Minimum Size Subarray Sum rs
210 Course Schedule II rs
211 Design Add and Search Words Data Structure py
213 House Robber II rs
215 Kth Largest Element in an Array rb
216 Combination Sum III rs
217 Contains Duplicate rs
219 Contains Duplicate II rs
220 Contains Duplicate III rs
221 Maximal Square rs
222 Count Complete Tree Nodes py
223 Rectangle Area rbΒ Β rs
225 Implement Stack using Queues rs
226 Invert Binary Tree py
227 Basic Calculator II py
228 Summary Ranges py
229 Majority Element II rs
230 Kth Smallest Element in a BST rb
231 Power of Two rs
232 Implement Queue using Stacks rs
233 Number of Digit One rs
234 Palindrome Linked List py
235 Lowest Common Ancestor of a Binary Search Tree py
236 Lowest Common Ancestor of a Binary Tree rb
237 Delete Node in a Linked List py
238 Product of Array Except Self rs
239 Sliding Window Maximum rs
240 Search a 2D Matrix II rbΒ Β kt
242 Valid Anagram rs
257 Binary Tree Paths py
258 Add Digits rs
260 Single Number III rs
263 Ugly Number rbΒ Β rs
264 Ugly Number II rs
268 Missing Number rs
273 Integer to English Words py
274 H-Index rs
275 H-Index II rs
278 First Bad Version py
279 Perfect Squares rs
283 Move Zeroes rs
284 Peeking Iterator py
287 Find the Duplicate Number rs
289 Game of Life rs
290 Word Pattern py
292 Nim Game rbΒ Β rs
295 Find Median from Data Stream py
297 Serialize and Deserialize Binary Tree py
299 Bulls and Cows py
300 Longest Increasing Subsequence rs
303 Range Sum Query - Immutable py
304 Range Sum Query 2D - Immutable rs
306 Additive Number rbΒ Β rs
313 Super Ugly Number rs
315 Count of Smaller Numbers After Self py
316 Remove Duplicate Letters rs
318 Maximum Product of Word Lengths py
319 Bulb Switcher rs
322 Coin Change rs
326 Power of Three py
328 Odd Even Linked List py
329 Longest Increasing Path in a Matrix rs
331 Verify Preorder Serialization of a Binary Tree rs
334 Increasing Triplet Subsequence rbΒ Β rs
337 House Robber III pyΒ Β rb
338 Counting Bits rs
341 Flatten Nested List Iterator rs
342 Power of Four rs
343 Integer Break rs
344 Reverse String rs
345 Reverse Vowels of a String pyΒ Β rb
347 Top K Frequent Elements rs
349 Intersection of Two Arrays rs
350 Intersection of Two Arrays II rs
352 Data Stream as Disjoint Intervals py
357 Count Numbers with Unique Digits rs
365 Water and Jug Problem rb
367 Valid Perfect Square rs
368 Largest Divisible Subset rs
371 Sum of Two Integers rs
372 Super Pow rs
373 Find K Pairs with Smallest Sums rs
374 Guess Number Higher or Lower py
380 Insert Delete GetRandom O(1) rs
382 Linked List Random Node py
383 Ransom Note py
384 Shuffle an Array rs
386 Lexicographical Numbers rs
387 First Unique Character in a String rbΒ Β rs
389 Find the Difference rs
390 Elimination Game rs
391 Perfect Rectangle rs
392 Is Subsequence rs
393 UTF-8 Validation rs
395 Longest Substring with At Least K Repeating Characters rs
396 Rotate Function rs
397 Integer Replacement rs
398 Random Pick Index py
400 Nth Digit rs
401 Binary Watch py
402 Remove K Digits rs
403 Frog Jump rs
404 Sum of Left Leaves py
405 Convert a Number to Hexadecimal py
406 Queue Reconstruction by Height rs
409 Longest Palindrome rs
410 Split Array Largest Sum rs
412 Fizz Buzz py
413 Arithmetic Slices rbΒ Β rs
414 Third Maximum Number rs
415 Add Strings py
416 Partition Equal Subset Sum rbΒ Β rs
417 Pacific Atlantic Water Flow rs
419 Battleships in a Board rs
421 Maximum XOR of Two Numbers in an Array py
423 Reconstruct Original Digits from English rs
424 Longest Repeating Character Replacement rs
427 Construct Quad Tree py
429 N-ary Tree Level Order Traversal pyΒ Β rb
430 Flatten a Multilevel Doubly Linked List rb
432 All O`one Data Structure py
433 Minimum Genetic Mutation pyΒ Β rb
434 Number of Segments in a String py
435 Non-overlapping Intervals rs
436 Find Right Interval rbΒ Β rs
437 Path Sum III py
438 Find All Anagrams in a String rbΒ Β rs
441 Arranging Coins py
442 Find All Duplicates in an Array rs
443 String Compression py
445 Add Two Numbers II py
446 Arithmetic Slices II - Subsequence py
447 Number of Boomerangs rs
448 Find All Numbers Disappeared in an Array rs
449 Serialize and Deserialize BST py
450 Delete Node in a BST pyΒ Β rb
451 Sort Characters By Frequency rs
452 Minimum Number of Arrows to Burst Balloons rbΒ Β rs
453 Minimum Moves to Equal Array Elements rs
454 4Sum II rs
455 Assign Cookies rbΒ Β rs
456 132 Pattern rs
459 Repeated Substring Pattern py
461 Hamming Distance rs
462 Minimum Moves to Equal Array Elements II rs
463 Island Perimeter rs
467 Unique Substrings in Wraparound String rbΒ Β rs
468 Validate IP Address rs
470 Implement Rand10() Using Rand7() rs
474 Ones and Zeroes rs
475 Heaters rs
476 Number Complement rs
477 Total Hamming Distance rbΒ Β rs
478 Generate Random Point in a Circle rs
480 Sliding Window Median py
481 Magical String rs
482 License Key Formatting py
483 Smallest Good Base py
485 Max Consecutive Ones rs
492 Construct the Rectangle rs
493 Reverse Pairs py
494 Target Sum rbΒ Β rs
495 Teemo Attacking rs
496 Next Greater Element I rs
497 Random Point in Non-overlapping Rectangles py
498 Diagonal Traverse rs
500 Keyboard Row py
501 Find Mode in Binary Search Tree py
502 IPO rs
503 Next Greater Element II rs
504 Base 7 py
506 Relative Ranks rs
507 Perfect Number rbΒ Β rs
508 Most Frequent Subtree Sum py
509 Fibonacci Number rs
513 Find Bottom Left Tree Value py
514 Freedom Trail rs
515 Find Largest Value in Each Tree Row py
518 Coin Change 2 rs
520 Detect Capital rs
521 Longest Uncommon Subsequence I rbΒ Β rs
524 Longest Word in Dictionary through Deleting py
525 Contiguous Array rbΒ Β rs
526 Beautiful Arrangement rs
528 Random Pick with Weight rs
529 Minesweeper rs
530 Minimum Absolute Difference in BST py
532 K-diff Pairs in an Array rs
535 Encode and Decode TinyURL py
537 Complex Number Multiplication py
538 Convert BST to Greater Tree py
539 Minimum Time Difference rs
540 Single Element in a Sorted Array rb
541 Reverse String II py
542 01 Matrix rs
543 Diameter of Binary Tree py
547 Number of Provinces rbΒ Β rs
551 Student Attendance Record I py
552 Student Attendance Record II rs
553 Optimal Division py
554 Brick Wall rs
556 Next Greater Element III rs
557 Reverse Words in a String III pyΒ Β rb
558 Quad Tree Intersection py
559 Maximum Depth of N-ary Tree py
560 Subarray Sum Equals K rs
561 Array Partition I rs
563 Binary Tree Tilt py
564 Find the Closest Palindrome py
565 Array Nesting rbΒ Β rs
566 Reshape the Matrix rs
567 Permutation in String rbΒ Β rs
572 Subtree of Another Tree py
575 Distribute Candies rs
576 Out of Boundary Paths rs
581 Shortest Unsorted Continuous Subarray rs
583 Delete Operation for Two Strings rs
587 Erect the Fence rs
589 N-ary Tree Preorder Traversal py
590 N-ary Tree Postorder Traversal py
592 Fraction Addition and Subtraction rs
593 Valid Square rs
594 Longest Harmonious Subsequence rs
598 Range Addition II rbΒ Β rs
599 Minimum Index Sum of Two Lists rs
605 Can Place Flowers rs
606 Construct String from Binary Tree py
609 Find Duplicate File in System rb
611 Valid Triangle Number rs
617 Merge Two Binary Trees py
621 Task Scheduler rs
622 Design Circular Queue rs
623 Add One Row to Tree py
628 Maximum Product of Three Numbers py
629 K Inverse Pairs Array rs
633 Sum of Square Numbers rs
636 Exclusive Time of Functions rs
637 Average of Levels in Binary Tree py
639 Decode Ways II rs
640 Solve the Equation rs
641 Design Circular Deque rs
643 Maximum Average Subarray I rs
645 Set Mismatch rs
646 Maximum Length of Pair Chain rs
647 Palindromic Substrings rb
648 Replace Words py
652 Find Duplicate Subtrees py
653 Two Sum IV - Input is a BST py
654 Maximum Binary Tree pyΒ Β rb
655 Print Binary Tree py
657 Robot Return to Origin pyΒ Β rs
658 Find K Closest Elements rs
661 Image Smoother rs
662 Maximum Width of Binary Tree py
665 Non-decreasing Array py
669 Trim a Binary Search Tree py
670 Maximum Swap rs
671 Second Minimum Node In a Binary Tree py
672 Bulb Switcher II rs
673 Number of Longest Increasing Subsequence py
674 Longest Continuous Increasing Subsequence rs
675 Cut Off Trees for Golf Event rs
677 Map Sum Pairs py
680 Valid Palindrome II py
682 Baseball Game py
686 Repeated String Match py
687 Longest Univalue Path py
688 Knight Probability in Chessboard rbΒ Β rs
690 Employee Importance py
692 Top K Frequent Words rb
693 Binary Number with Alternating Bits rs
695 Max Area of Island rbΒ Β rs
696 Count Binary Substrings pyΒ Β rb
697 Degree of an Array rs
699 Falling Squares rs
700 Search in a Binary Search Tree py
701 Insert into a Binary Search Tree py
703 Kth Largest Element in a Stream rs
704 Binary Search rs
705 Design HashSet rs
706 Design HashMap rs
707 Design Linked List py
709 To Lower Case rs
710 Random Pick with Blacklist py
713 Subarray Product Less Than K rbΒ Β rs
717 1-bit and 2-bit Characters rs
720 Longest Word in Dictionary py
722 Remove Comments py
724 Find Pivot Index rbΒ Β rs
725 Split Linked List in Parts py
728 Self Dividing Numbers py
729 My Calendar I py
731 My Calendar II py
733 Flood Fill rs
735 Asteroid Collision rb
738 Monotone Increasing Digits rs
739 Daily Temperatures rs
740 Delete and Earn rs
743 Network Delay Time rs
744 Find Smallest Letter Greater Than Target rs
746 Min Cost Climbing Stairs rs
747 Largest Number At Least Twice of Others rs
748 Shortest Completing Word py
752 Open the Lock rbΒ Β rs
754 Reach a Number rs
757 Set Intersection Size At Least Two py
762 Prime Number of Set Bits in Binary Representation py
763 Partition Labels rs
764 Largest Plus Sign rs
765 Couples Holding Hands py
766 Toeplitz Matrix rs
767 Reorganize String rs
768 Max Chunks To Make Sorted II rs
769 Max Chunks To Make Sorted rbΒ Β rs
771 Jewels and Stones rs
773 Sliding Puzzle rs
775 Global and Local Inversions rbΒ Β rs
778 Swim in Rising Water rs
779 K-th Symbol in Grammar rs
781 Rabbits in Forest rbΒ Β rs
783 Minimum Distance Between BST Nodes py
784 Letter Case Permutation py
785 Is Graph Bipartite? rs
788 Rotated Digits rs
789 Escape The Ghosts rbΒ Β rs
790 Domino and Tromino Tiling rs
791 Custom Sort String rs
794 Valid Tic-Tac-Toe State rs
796 Rotate String rs
798 Smallest Rotation with Highest Score rs
799 Champagne Tower rs
804 Unique Morse Code Words py
805 Split Array With Same Average py
806 Number of Lines To Write String py
807 Max Increase to Keep City Skyline rs
808 Soup Servings rs
809 Expressive Words rs
810 Chalkboard XOR Game rs
811 Subdomain Visit Count rs
812 Largest Triangle Area rs
813 Largest Sum of Averages py
814 Binary Tree Pruning pyΒ Β rb
816 Ambiguous Coordinates rs
817 Linked List Components pyΒ Β rb
819 Most Common Word py
820 Short Encoding of Words rs
821 Shortest Distance to a Character py
822 Card Flipping Game rs
824 Goat Latin py
825 Friends Of Appropriate Ages py
826 Most Profit Assigning Work rs
829 Consecutive Numbers Sum py
830 Positions of Large Groups rs
831 Masking Personal Information rb
832 Flipping an Image py
836 Rectangle Overlap rs
838 Push Dominoes rbΒ Β rs
839 Similar String Groups py
840 Magic Squares In Grid rs
841 Keys and Rooms rs
842 Split Array into Fibonacci Sequence py
844 Backspace String Compare py
846 Hand of Straights rs
848 Shifting Letters rs
849 Maximize Distance to Closest Person rs
851 Loud and Rich rs
852 Peak Index in a Mountain Array rs
853 Car Fleet rs
856 Score of Parentheses rs
858 Mirror Reflection rbΒ Β rs
859 Buddy Strings py
860 Lemonade Change rs
861 Score After Flipping Matrix rs
865 Smallest Subtree with all the Deepest Nodes py
866 Prime Palindrome rs
867 Transpose Matrix py
868 Binary Gap rs
869 Reordered Power of 2 rs
870 Advantage Shuffle rbΒ Β rs
871 Minimum Number of Refueling Stops rs
872 Leaf-Similar Trees py
873 Length of Longest Fibonacci Subsequence rs
874 Walking Robot Simulation rs
875 Koko Eating Bananas rbΒ Β rs
876 Middle of the Linked List py
877 Stone Game rs
878 Nth Magical Number py
879 Profitable Schemes rs
880 Decoded String at Index rs
881 Boats to Save People rb
883 Projection Area of 3D Shapes rs
884 Uncommon Words from Two Sentences py
885 Spiral Matrix III rs
888 Fair Candy Swap rs
889 Construct Binary Tree from Preorder and Postorder Traversal py
890 Find and Replace Pattern py
891 Sum of Subsequence Widths rs
892 Surface Area of 3D Shapes rbΒ Β rs
893 Groups of Special-Equivalent Strings rs
894 All Possible Full Binary Trees rb
895 Maximum Frequency Stack rs
896 Monotonic Array rs
897 Increasing Order Search Tree py
899 Orderly Queue rs
900 RLE Iterator rs
901 Online Stock Span rs
902 Numbers At Most N Given Digit Set rs
904 Fruit Into Baskets rs
905 Sort Array By Parity rs
908 Smallest Range I rs
909 Snakes and Ladders rs
911 Online Election rs
912 Sort an Array rs
914 X of a Kind in a Deck of Cards rs
915 Partition Array into Disjoint Intervals rbΒ Β rs
916 Word Subsets rbΒ Β rs
917 Reverse Only Letters py
918 Maximum Sum Circular Subarray rs
919 Complete Binary Tree Inserter py
920 Number of Music Playlists rs
921 Minimum Add to Make Parentheses Valid rs
922 Sort Array By Parity II py
923 3Sum With Multiplicity rs
925 Long Pressed Name py
926 Flip String to Monotone Increasing rs
927 Three Equal Parts rs
929 Unique Email Addresses pyΒ Β rb
930 Binary Subarrays With Sum rs
931 Minimum Falling Path Sum rs
933 Number of Recent Calls rs
935 Knight Dialer rbΒ Β rs
937 Reorder Data in Log Files py
938 Range Sum of BST py
939 Minimum Area Rectangle pyΒ Β rs
941 Valid Mountain Array rs
942 DI String Match py
944 Delete Columns to Make Sorted py
945 Minimum Increment to Make Array Unique rbΒ Β rs
946 Validate Stack Sequences rbΒ Β rs
948 Bag of Tokens rbΒ Β rs
949 Largest Time for Given Digits py
950 Reveal Cards In Increasing Order rs
951 Flip Equivalent Binary Trees rb
953 Verifying an Alien Dictionary py
954 Array of Doubled Pairs py
956 Tallest Billboard rs
957 Prison Cells After N Days rs
958 Check Completeness of a Binary Tree py
961 N-Repeated Element in Size 2N Array rs
962 Maximum Width Ramp rs
965 Univalued Binary Tree py
967 Numbers With Same Consecutive Differences rbΒ Β rs
969 Pancake Sorting py
970 Powerful Integers rs
973 K Closest Points to Origin rs
974 Subarray Sums Divisible by K rbΒ Β rs
975 Odd Even Jump py
976 Largest Perimeter Triangle rs
977 Squares of a Sorted Array rs
978 Longest Turbulent Subarray rs
979 Distribute Coins in Binary Tree py
981 Time Based Key-Value Store py
982 Triples with Bitwise AND Equal To Zero rs
984 String Without AAA or BBB rb
985 Sum of Even Numbers After Queries py
986 Interval List Intersections rbΒ Β rs
987 Vertical Order Traversal of a Binary Tree py
988 Smallest String Starting From Leaf py
989 Add to Array-Form of Interger py
990 Satisfiability of Equality Equations rs
991 Broken Calculator rs
993 Cousins in Binary Tree py
994 Rotting Oranges rs
997 Find the Town Judge rs
998 Maximum Binary Tree II pyΒ Β rb
999 Available Captures for Rook rs
1001 Grid Illumination rs
1002 Find Common Characters py
1003 Check If Word Is Valid After Substitutions py
1004 Max Consecutive Ones III rs
1005 Maximize Sum Of Array After K Negations rs
1006 Clumsy Factorial rbΒ Β rs
1007 Minimum Domino Rotations For Equal Row rs
1008 Construct Binary Search Tree from Preorder Traversal py
1009 Complement of Base 10 Integer rs
1010 Pairs of Songs With Total Durations Divisible by 60 rs
1011 Capacity To Ship Packages Within D Days rs
1012 Numbers With Repeated Digits rs
1013 Partition Array Into Three Parts With Equal Sum rs
1014 Best Sightseeing Pair rs
1016 Binary String With Substrings Representing 1 To N rs
1017 Convert to Base -2 rs
1018 Binary Prefix Divisible By 5 py
1019 Next Greater Node In Linked List pyΒ Β rb
1020 Number of Enclaves rs
1021 Remove Outermost Parentheses rs
1022 Sum of Root To Leaf Binary Numbers py
1023 Camelcase Matching rs
1024 Video Stitching rs
1025 Divisor Game rs
1026 Maximum Difference Between Node and Ancestor py
1027 Longest Arithmetic Subsequence rs
1028 Recover a Tree From Preorder Traversal py
1029 Two City Scheduling py
1030 Matrix Cells in Distance Order rs
1031 Maximum Sum of Two Non-Overlapping Subarrays rs
1033 Moving Stones Until Consecutive rbΒ Β rs
1034 Coloring A Border rs
1035 Uncrossed Lines rs
1037 Valid Boomerang rs
1038 Binary Search Tree to Greater Sum Tree py
1040 Moving Stones Until Consecutive II rs
1041 Robot Bounded In Circle rs
1042 Flower Planting With No Adjacent rs
1043 Partition Array for Maximum Sum rs
1046 Last Stone Weight py
1047 Remove All Adjacent Duplicates In String py
1048 Longest String Chain py
1051 Height Checker py
1052 Grumpy Bookstore Owner rbΒ Β rs
1053 Previous Permutation With One Swap rs
1054 Distant Barcodes rs
1061 Lexicographically Smallest Equivalent String py
1071 Greatest Common Divisor of Strings py
1074 Number of Submatrices That Sum to Target rs
1078 Occurrences After Bigram py
1079 Letter Tile Possibilities py
1081 Smallest Subsequence of Distinct Characters rs
1089 Duplicate Zeros rs
1090 Largest Values From Labels rb
1091 Shortest Path in Binary Matrix rs
1093 Statistics from a Large Sample rs
1094 Car Pooling rs
1103 Distribute Candies to People py
1104 Path In Zigzag Labelled Binary Tree rs
1106 Parsing A Boolean Expression rs
1108 Defanging an IP Address rs
1109 Corporate Flight Bookings rs
1110 Delete Nodes And Return Forest pyΒ Β rb
1111 Maximum Nesting Depth of Two Valid Parentheses Strings rs
1122 Relative Sort Array rs
1123 Lowest Common Ancestor of Deepest Leaves py
1128 Number of Equivalent Domino Pairs rs
1129 Shortest Path with Alternating Colors rs
1131 Maximum of Absolute Value Expression rs
1137 N-th Tribonacci Number rs
1138 Alphabet Board Path rbΒ Β rs
1139 Largest 1-Bordered Square rs
1143 Longest Common Subsequence rs
1144 Decrease Elements To Make Array Zigzag rs
1145 Binary Tree Coloring Game py
1146 Snapshot Array rbΒ Β rs
1154 Day of the Year rs
1155 Number of Dice Rolls With Target Sum pyΒ Β rs
1156 Swap For Longest Repeated Character Substring rs
1160 Find Words That Can Be Formed by Characters py
1161 Maximum Level Sum of a Binary Tree py
1162 As Far from Land as Possible rs
1169 invalid-transactions rs
1170 Compare Strings by Frequency of the Smallest Character py
1172 Dinner Plate Stacks rs
1175 Prime Arrangements rs
1177 Can Make Palindrome from Substring rs
1178 Number of Valid Words for Each Puzzle rs
1184 Distance Between Bus Stops rs
1185 Day of the Week rs
1189 Maximum Number of Balloons rs
1190 Reverse Substrings Between Each Pair of Parentheses rs
1191 K-Concatenation Maximum Sum rbΒ Β rs
1200 Minimum Absolute Difference rs
1202 Smallest String With Swaps py
1207 Unique Number of Occurrences rs
1208 Get Equal Substrings Within Budget rbΒ Β rs
1209 Remove All Adjacent Duplicates in String II rs
1217 Play with Chips rs
1218 Longest Arithmetic Subsequence of Given Difference rs
1220 Count Vowels Permutation rs
1221 Split a String in Balanced Strings rbΒ Β rs
1222 Queens That Can Attack the King rs
1223 Dice Roll Simulation rs
1224 Maximum Equal Frequency rs
1227 Airplane Seat Assignment Probability rs
1232 Check If It Is a Straight Line rs
1233 Remove Sub-Folders from the Filesystem rs
1234 Replace the Substring for Balanced String rbΒ Β rs
1235 Maximum Profit in Job Scheduling rs
1237 Find Positive Integer Solution for a Given Equation py
1238 Circular Permutation in Binary Representation rs
1247 Minimum Swaps to Make Strings Equal py
1248 Count Number of Nice Subarrays rbΒ Β rs
1249 Minimum Remove to Make Valid Parentheses rs
1250 Check If It Is a Good Array py
1252 Cells with Odd Values in a Matrix rs
1253 Reconstruct a 2-Row Binary Matrix rbΒ Β rs
1255 Maximum Score Words Formed by Letters rs
1260 Shift 2D Grid rs
1261 Find Elements in a Contaminated Binary Tree py
1262 Greatest Sum Divisible by Three rs
1266 Minimum Time Visiting All Points rbΒ Β rs
1267 Count Servers that Communicate rbΒ Β rs
1268 Search Suggestions System rs
1269 Number of Ways to Stay in the Same Place After Some Steps rs
1275 Find Winner on a Tic Tac Toe Game rs
1276 Number of Burgers with No Waste of Ingredients pyΒ Β rs
1277 Count Square Submatrices with All Ones rs
1281 Subtract the Product and Sum of Digits of an Integer rs
1282 Group the People Given the Group Size They Belong To rs
1283 Find the Smallest Divisor Given a Threshold py
1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix rs
1286 Iterator for Combination rs
1287 Element Appearing More Than 25% In Sorted Array rs
1288 Remove Covered Intervals rs
1289 Minimum Falling Path Sum II rs
1290 Convert Binary Number in a Linked List to Integer py
1291 Sequential Digits rbΒ Β rs
1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold py
1295 Find Numbers with Even Number of Digits py
1296 Divide Array in Sets of K Consecutive Numbers rs
1297 Maximum Number of Occurrences of a Substring rs
1298 Maximum Candies You Can Get from Boxes rs
1299 Replace Elements with Greatest Element on Right Side rs
1300 Sum of Mutated Array Closest to Target rs
1302 Deepest Leaves Sum py
1304 Find N Unique Integers Sum up to Zero rs
1305 All Elements in Two Binary Search Trees py
1306 Jump Game III rb
1309 Decrypt String from Alphabet to Integer Mapping py
1310 XOR Queries of a Subarray rs
1311 Get Watched Videos by Your Friends py
1313 Decompress Run-Length Encoded List rbΒ Β rs
1314 Matrix Block Sum rs
1315 Sum of Nodes with Even-Valued Grandparent py
1316 Distinct Echo Substrings rs
1317 Convert Integer to the Sum of Two No-Zero Integers rs
1318 Minimum Flips to Make a OR b Equal to c rs
1320 Minimum Distance to Type a Word Using Two Fingers rs
1323 Maximum 69 Number rs
1324 Print Words Vertically py
1325 Delete Leaves With a Given Value py
1328 Break a Palindrome rbΒ Β rs
1329 Sort the Matrix Diagonally rbΒ Β rs
1330 Reverse Subarray To Maximize Array Value rs
1331 Rank Transform of an Array py
1332 Remove Palindromic Subsequences py
1333 Filter Restaurants by Vegan-Friendly, Price and Distance rbΒ Β rs
1335 Minimum Difficulty of a Job Schedule rs
1337 The K Weakest Rows in a Matrix rs
1338 Reduce Array Size to The Half rb
1339 Maximum Product of Splitted Binary Tree py
1342 Number of Steps to Reduce a Number to Zero rbΒ Β rs
1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold rbΒ Β rs
1344 Angle Between Hands of a Clock rs
1346 Check If N and Its Double Exist rs
1347 Minimum Number of Steps to Make Two Strings Anagram rs
1351 Count Negative Numbers in a Sorted Matrix rs
1352 Product of the Last K Numbers rs
1353 Maximum Number of Events That Can Be Attended rs
1356 Sort Integers by The Number of 1 Bits rs
1357 Apply Discount Every n Orders rs
1358 Number of Substrings Containing All Three Characters rs
1359 Count All Valid Pickup and Delivery Options rs
1360 Number of Days Between Two Dates rs
1362 Closest Divisors rbΒ Β rs
1363 Largest Multiple of Three rs
1365 How Many Numbers Are Smaller Than the Current Number js
1366 Rank Teams by Votes rs
1367 Linked List in Binary Tree pyΒ Β rb
1368 Minimum Cost to Make at Least One Valid Path in a Grid rs
1370 Increasing Decreasing String rs
1371 Find the Longest Substring Containing Vowels in Even Counts rs
1372 Longest ZigZag Path in a Binary Tree py
1373 Maximum Sum BST in Binary Tree py
1374 Generate a String With Characters That Have Odd Counts py
1375 Bulb Switcher III rs
1376 Time Needed to Inform All Employees rbΒ Β rs
1377 Frog Position After T Seconds rs
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree py
1380 Lucky Numbers in a Matrix rs
1381 Design a Stack With Increment Operation rs
1382 Balance a Binary Search Tree py
1385 Find the Distance Value Between Two Arrays rs
1386 Cinema Seat Allocation rs
1387 Sort Integers by The Power Value rs
1389 Create Target Array in the Given Order rbΒ Β rs
1390 Four Divisors rs
1391 Check if There is a Valid Path in a Grid rs
1394 Find Lucky Integer in an Array rs
1395 Count Number of Teams rs
1396 Design Underground System rs
1399 Count Largest Group py
1400 Construct K Palindrome Strings rs
1401 Circle and Rectangle Overlapping rs
1402 Reducing Dishes rs
1403 Minimum Subsequence in Non-Increasing Order rs
1404 Number of Steps to Reduce a Number in Binary Representation to One rs
1405 Longest Happy String rs
1408 String Matching in an Array rs
1409 Queries on a Permutation With Key rbΒ Β rsΒ Β kt
1410 HTML Entity Parser rs
1411 Number of Ways to Paint N Γ— 3 Grid rs
1413 Minimum Value to Get Positive Step by Step Sum rs
1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K rbΒ Β rs
1415 The k-th Lexicographical String of All Happy Strings of Length n pyΒ Β rb
1416 Restore The Array py
1417 Reformat The String rs
1419 Minimum Number of Frogs Croaking rbΒ Β rs
1420 Build Array Where You Can Find The Maximum Exactly K Comparisons rs
1422 Maximum Score After Splitting a String rs
1423 Maximum Points You Can Obtain from Cards rs
1424 Diagonal Traverse II rb
1425 Constrained Subsequence Sum rs
1431 Kids With the Greatest Number of Candies rs
1432 Max Difference You Can Get From Changing an Integer rs
1433 Check If a String Can Break Another String rs
1436 Destination City rs
1437 Check If All 1's Are at Least Length K Places Away rs
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit rs
1441 Build an Array With Stack Operations rs
1443 Minimum Time to Collect All Apples in a Tree rs
1446 Consecutive Characters rs
1447 Simplified Fractions pyΒ Β rb
1448 Count Good Nodes in Binary Tree py
1449 Form Largest Integer With Digits That Add up to Target rs
1450 Number of Students Doing Homework at a Given Time rs
1451 Rearrange Words in a Sentence rb
1452 People Whose List of Favorite Companies Is Not a Subset of Another List rs
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence rs
1456 Maximum Number of Vowels in a Substring of Given Length pyΒ Β rb
1457 Pseudo-Palindromic Paths in a Binary Tree py
1460 Make Two Arrays Equal by Reversing Sub-arrays rs
1461 Check If a String Contains All Binary Codes of Size K rs
1463 Cherry Pickup II rs
1464 Maximum Product of Two Elements in an Array rs
1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts py
1470 Shuffle the Array rs
1471 The k Strongest Values in an Array rbΒ Β rs
1472 Design Browser History rs
1473 Paint House III rs
1475 Final Prices With a Special Discount in a Shop rs
1476 Subrectangle Queries rs
1480 Running Sum of 1d Array rbΒ Β rs
1481 Least Number of Unique Integers after K Removals rbΒ Β rs
1486 XOR Operation in an Array rbΒ Β rs
1487 Making File Names Unique rb
1488 Avoid Flood in The City rs
1491 Average Salary Excluding the Minimum and Maximum Salary rbΒ Β rs
1492 The kth Factor of n pyΒ Β rbΒ Β rs
1493 Longest Subarray of 1's After Deleting One Element rbΒ Β rs
1496 Path Crossing rs
1497 Check If Array Pairs Are Divisible by k rs
1498 Number of Subsequences That Satisfy the Given Sum Condition rs
1499 Max Value of Equation rs
1502 Can Make Arithmetic Progression From Sequence rbΒ Β rs
1503 Last Moment Before All Ants Fall Out of a Plank rbΒ Β rs
1504 Count Submatrices With All Ones rs
1507 Reformat Date py
1508 Range Sum of Sorted Subarray Sums rbΒ Β rs
1509 Minimum Difference Between Largest and Smallest Value in Three Moves rb
1512 Number of Good Pairs rbΒ Β rs
1513 Number of Substrings With Only 1s rs
1514 Path with Maximum Probability py
1518 Water Bottles rbΒ Β rs
1523 Count Odd Numbers in an Interval Range rb
1524 Number of Sub-arrays With Odd Sum rbΒ Β rs
1525 Number of Good Ways to Split a String rs
1528 Shuffle String pyΒ Β rb
1529 Bulb Switcher IV rs
1530 Number of Good Leaf Nodes Pairs rb
1534 Count Good Triplets rb
1535 Find the Winner of an Array Game rbΒ Β rs
1539 Kth Missing Positive Number rs
1540 Can Convert String in K Moves rs
1542 Find Longest Awesome Substring rs
1544 Make The String Great rb
1545 Find Kth Bit in Nth Binary String rs
1550 Three Consecutive Odds py
1551 Minimum Operations to Make Array Equal rbΒ Β rs
1556 Thousand Separator rs
1557 Minimum Number of Vertices to Reach All Nodes rs
1558 Minimum Numbers of Function Calls to Make Target Array rs
1560 Most Visited Sector in a Circular Track rs
1561 Maximum Number of Coins You Can Get rs
1566 Detect Pattern of Length M Repeated K or More Times rs
1567 Maximum Length of Subarray With Positive Product rs
1572 Matrix Diagonal Sum rs
1573 Number of Ways to Split a String rs
1574 Shortest Subarray to be Removed to Make Array Sorted rs
1576 Replace All ?'s to Avoid Consecutive Repeating Characters rs
1577 Number of Ways Where Square of Number Is Equal to Product of Two Numbers py
1578 Minimum Time to Make Rope Colorful rs
1582 Special Positions in a Binary Matrix rs
1588 Sum of All Odd Length Subarrays rs
1589 Maximum Sum Obtained of Any Permutation rs
1590 Make Sum Divisible by P rs
1592 Rearrange Spaces Between Words py
1594 Maximum Non Negative Product in a Matrix rs
1598 Crawler Log Folder rb
1599 Maximum Profit of Operating a Centennial Wheel rs
1601 Maximum Number of Achievable Transfer Requests rs
1603 Design Parking System rs
1604 Alert Using Same Key-Card Three or More Times in a One Hour Period rs
1608 Special Array With X Elements Greater Than or Equal X rs
1609 Even Odd Tree pyΒ Β rb
1610 Maximum Number of Visible Points rs
1614 Maximum Nesting Depth of the Parentheses rbΒ Β rs
1619 Mean of Array After Removing Some Elements rbΒ Β rs
1620 Coordinate With Maximum Network Quality rs
1621 Number of Sets of K Non-Overlapping Line Segments py
1624 Largest Substring Between Two Equal Characters rbΒ Β rs
1629 Slowest Key rbΒ Β rs
1630 Arithmetic Subarrays rbΒ Β rs
1631 Path With Minimum Effort rs
1636 Sort Array by Increasing Frequency rs
1637 Widest Vertical Area Between Two Points Containing No Points rbΒ Β rs
1638 Count Substrings That Differ by One Character rs
1640 Check Array Formation Through Concatenation rbΒ Β rs
1641 Count Sorted Vowel Strings rbΒ Β rs
1642 Furthest Building You Can Reach rs
1643 Kth Smallest Instructions rs
1646 Get Maximum in Generated Array rs
1647 Minimum Deletions to Make Character Frequencies Unique rbΒ Β rs
1648 Sell Diminishing-Valued Colored Balls rs
1649 Create Sorted Array through Instructions py
1652 Defuse the Bomb rbΒ Β rs
1653 Minimum Deletions to Make String Balanced rs
1654 Minimum Jumps to Reach Home rs
1656 Design an Ordered Stream py
1657 Determine if Two Strings Are Close py
1658 Minimum Operations to Reduce X to Zero rbΒ Β rs
1662 Check If Two String Arrays are Equivalent rbΒ Β rs
1663 Smallest String With A Given Numeric Value rbΒ Β rs
1664 Ways to Make a Fair Array rbΒ Β rs
1668 Maximum Repeating Substring pyΒ Β rb
1669 Merge In Between Linked Lists rb
1670 Design Front Middle Back Queue rs
1672 Richest Customer Wealth rbΒ Β rs
1673 Find the Most Competitive Subsequence rs
1678 Goal Parser Interpretation rs
1679 Max Number of K-Sum Pairs rs
1684 Count the Number of Consistent Strings rs
1685 Sum of Absolute Differences in a Sorted Array rbΒ Β rs
1688 Count of Matches in Tournament rbΒ Β rs
1689 Partitioning Into Minimum Number Of Deci-Binary Numbers rbΒ Β rs
1694 Reformat Phone Number py
1695 Maximum Erasure Value rbΒ Β rs
1696 Jump Game VI rs
1700 Number of Students Unable to Eat Lunch rbΒ Β rs
1701 Average Waiting Time rbΒ Β rs
1702 Maximum Binary String After Change rs
1704 Determine if String Halves Are Alike rbΒ Β rs
1705 Maximum Number of Eaten Apples rs
1706 Where Will the Ball Fall rs
1710 Maximum Units on a Truck rs
1711 Count Good Meals rs
1712 Ways to Split Array Into Three Subarrays rs
1716 Calculate Money in Leetcode Bank rbΒ Β rs
1720 Decode XORed Array rbΒ Β rs
1721 Swapping Nodes in a Linked List rb
1722 Minimize Hamming Distance After Swap Operations py
1725 Number Of Rectangles That Can Form The Largest Square rbΒ Β rs
1726 Tuple with Same Product rbΒ Β rs
1732 Find the Highest Altitude rbΒ Β rs
1733 Minimum Number of People to Teach rs
1734 Decode XORed Permutation rs
1736 Latest Time by Replacing Hidden Digits rs
1737 Change Minimum Characters to Satisfy One of Three Conditions rs
1738 Find Kth Largest XOR Coordinate Value rbΒ Β rs
1742 Maximum Number of Balls in a Box py
1743 Restore the Array From Adjacent Pairs rs
1744 Can You Eat Your Favorite Candy on Your Favorite Day? rs
1748 Sum of Unique Elements rs
1749 Maximum Absolute Sum of Any Subarray rbΒ Β rs
1750 Minimum Length of String After Deleting Similar Ends rbΒ Β rs
1752 Check if Array Is Sorted and Rotated rbΒ Β rs
1753 Maximum Score From Removing Stones rbΒ Β rs
1754 Largest Merge Of Two Strings py
1758 Minimum Changes To Make Alternating Binary String rbΒ Β rs
1759 Count Number of Homogenous Substrings rs
1763 Longest Nice Substring rbΒ Β rs
1764 Form Array by Concatenating Subarrays of Another Array rs
1768 Merge Strings Alternately rs
1769 Minimum Number of Operations to Move All Balls to Each Box rs
1773 Count Items Matching a Rule rs
1779 Find Nearest Point That Has the Same X or Y Coordinate rs
1780 Check if Number is a Sum of Powers of Three rbΒ Β rs
1784 Check if Binary String Has at Most One Segment of Ones rbΒ Β rs
1785 Minimum Elements to Add to Form a Given Sum rbΒ Β rs
1790 Check if One String Swap Can Make Strings Equal rs
1791 Find Center of Star Graph rbΒ Β rs
1792 Maximum Average Pass Ratio py
1796 Second Largest Digit in a String rs
1797 Design Authentication Manager py
1798 Maximum Number of Consecutive Values You Can Make rs
1800 Maximum Ascending Subarray Sum rbΒ Β rs
1801 Number of Orders in the Backlog rs
1802 Maximum Value at a Given Index in a Bounded Array rs
1805 Number of Different Integers in a String rs
1807 Evaluate the Bracket Pairs of a String py
1812 Determine Color of a Chessboard Square pyΒ Β rb
1813 Sentence Similarity III rs
1814 Count Nice Pairs in an Array rs
1816 Truncate Sentence py
1817 Finding the Users Active Minutes rs
1818 Minimum Absolute Sum Difference rs
1822 Sign of the Product of an Array rbΒ Β rs
1823 Find the Winner of the Circular Game rs
1824 Minimum Sideway Jumps rs
1827 Minimum Operations to Make the Array Increasing rbΒ Β rs
1828 Queries on Number of Points Inside a Circle py
1829 Maximum XOR for Each Query rs
1832 Check if the Sentence Is Pangram rs
1833 Maximum Ice Cream Bars rs
1834 Single-Threaded CPU rs
1837 Sum of Digits in Base K rbΒ Β rs
1838 Frequency of the Most Frequent Element rs
1840 Maximum Building Height rs
1844 Replace All Digits with Characters rs
1845 Seat Reservation Manager py
1846 Maximum Element After Decreasing and Rearranging rs
1847 Closest Room py
1848 Minimum Distance to the Target Element rs
1854 Maximum Population Year rs
1855 Maximum Distance Between a Pair of Values py
1859 Sorting the Sentence py
1860 Incremental Memory Leak rs
1861 Rotating the Box rs
1863 Sum of All Subset XOR Totals py
1865 Finding Pairs With a Certain Sum rs
1866 Number of Ways to Rearrange Sticks With K Sticks Visible rs
1869 Longer Contiguous Segments of Ones than Zeros rs
1870 Minimum Speed to Arrive on Time py
1876 Substrings of Size Three with Distinct Characters rs
1877 Minimize Maximum Pair Sum in Array rs
1878 Get Biggest Three Rhombus Sums in a Grid rs
1880 Check if Word Equals Summation of Two Words rs
1884 Egg Drop With 2 Eggs and N Floors rs
1886 Determine Whether Matrix Can Be Obtained By Rotation rs
1887 Reduction Operations to Make the Array Elements Equal rs
1888 Minimum Number of Flips to Make the Binary String Alternating rs
1893 Check if All the Integers in a Range Are Covered py
1894 Find the Student that Will Replace the Chalk rs
1897 Redistribute Characters to Make All Strings Equal rs
1899 Merge Triplets to Form Target Triplet rs
1901 Find a Peak Element II rs
1903 Largest Odd Number in String rs
1904 The Number of Full Rounds You Have Played py
1909 Remove One Element to Make the Array Strictly Increasing rs
1913 Maximum Product Difference Between Two Pairs rs
1920 Build Array from Permutation rs
1921 Eliminate Maximum Number of Monsters rs
1925 Count Square Sum Triples py
1926 Nearest Exit from Entrance in Maze rs
1929 Concatenation of Array pyΒ Β rs
1930 Unique Length-3 Palindromic Subsequences rs
1935 Maximum Number of Words You Can Type py
1936 Add Minimum Number of Rungs rs
1941 Check if All Characters Have Equal Number of Occurrences rs
1942 The Number of the Smallest Unoccupied Chair rs
1944 Number of Visible People in a Queue rs
1945 Sum of Digits of String After Convert py
1946 Largest Number After Mutating Substring rs
1952 Three Divisors rs
1954 Minimum Garden Perimeter to Collect Enough Apples rs
1957 Delete Characters to Make Fancy String py
1958 Check if Move is Legal rs
1961 Check If String Is a Prefix of Array py
1962 Remove Stones to Minimize the Total rs
1963 Minimum Number of Swaps to Make the String Balanced rs
1967 Number of Strings That Appear as Substrings in Word py
1968 Array With Elements Not Equal to Average of Neighbors rs
1971 Find if Path Exists in Graph py
1974 Minimum Time to Type Word Using Special Typewriter rs
1975 Maximum Matrix Sum rs
1979 Find Greatest Common Divisor of Array pyΒ Β rb
1980 Find Unique Binary String py
1984 Minimum Difference Between Highest and Lowest of K Scores rs
1985 Find the Kth Largest Integer in the Array py
1991 Find the Middle Index in Array py
1993 Operations on Tree rs
1995 Count Special Quadruplets py
2000 Reverse Prefix of Word py
2001 Number of Pairs of Interchangeable Rectangles py
2006 Count Number of Pairs With Absolute Difference K rs
2007 Find Original Array From Doubled Array rs
2008 Maximum Earnings From Taxi rs
2011 Final Value of Variable After Performing Operations pyΒ Β rs
2013 Detect Squares rs
2016 Maximum Difference Between Increasing Elements rs
2022 Convert 1D Array Into 2D Array rs
2023 Number of Pairs of Strings With Concatenation Equal to Target py
2024 Maximize the Confusion of an Exam rs
2027 Minimum Moves to Convert String rs
2028 Find Missing Observations rs
2030 Smallest K-Length Subsequence With Occurrences of a Letter rs
2032 Two Out of Three py
2034 Stock Price Fluctuation rs
2037 Minimum Number of Moves to Seat Everyone rs
2038 Remove Colored Pieces if Both Neighbors are the Same Color rs
2042 Check if Numbers Are Ascending in a Sentence py
2043 Simple Bank System py
2044 Count Number of Maximum Bitwise-OR Subsets rs
2047 Number of Valid Words in a Sentence py
2048 Next Greater Numerically Balanced Number rs
2053 Kth Distinct String in an Array py
2054 Two Best Non-Overlapping Events rs
2055 Plates Between Candles rs
2057 Smallest Index With Equal Value rs
2058 Find the Minimum and Maximum Number of Nodes Between Critical Points py
2059 Minimum Operations to Convert Number rs
2062 Count Vowel Substrings of a String py
2063 Vowels of All Substrings rs
2068 Check Whether Two Strings are Almost Equivalent rs
2069 Walking Robot Simulation II py
2070 Most Beautiful Item for Each Query rs
2073 Time Needed to Buy Tickets py
2075 Decode the Slanted Ciphertext rs
2078 Two Furthest Houses With Different Colors rs
2079 Watering Plants rs
2080 Range Frequency Queries rs
2081 Sum of k-Mirror Numbers py
2085 Count Common Words With One Occurrence py
2086 Minimum Number of Food Buckets to Feed the Hamsters rs
2087 Minimum Cost Homecoming of a Robot in a Grid py
2088 Count Fertile Pyramids in a Land rs
2089 Find Target Indices After Sorting Array py
2090 K Radius Subarray Averages rs
2091 Removing Minimum and Maximum From Array rs
2094 Finding 3-Digit Even Numbers rs
2095 Delete the Middle Node of a Linked List py
2096 Step-By-Step Directions From a Binary Tree Node to Another py
2099 Find Subsequence of Length K With the Largest Sum rs
2100 Find Good Days to Rob the Bank rs
2101 Detonate the Maximum Bombs rs
2102 Sequentially Ordinal Rank Tracker py
2103 Rings and Rods rs
2105 Watering Plants II rs
2106 Maximum Fruits Harvested After at Most K Steps rs
2108 Find First Palindromic String in the Array rs
2109 Adding Spaces to a String rs
2110 Number of Smooth Descent Periods of a Stock rs
2114 Maximum Number of Words Found in Sentences rs
2115 Find All Possible Recipes from Given Supplies py
2119 A Number After a Double Reversal rs
2120 Execution of All Suffix Instructions Staying in a Grid rs
2121 Intervals Between Identical Elements py
2122 Recover the Original Array rs
2124 Check if All A's Appears Before All B's py
2125 Number of Laser Beams in a Bank py
2126 Destroying Asteroids rs
2129 Capitalize the Title py
2130 Maximum Twin Sum of a Linked List py
2131 Longest Palindrome by Concatenating Two Letter Words rs
2133 Check if Every Row and Column Contains All Numbers rs
2134 Minimum Swaps to Group All 1's Together II rs
2135 Count Words Obtained After Adding a Letter rs
2138 Divide a String Into Groups of Size k py
2139 Minimum Moves to Reach Target Score rs
2140 Solving Questions With Brainpower rs
2144 Minimum Cost of Buying Candies With Discount rs
2145 Count the Hidden Sequences rs
2147 Number of Ways to Divide a Long Corridor rs
2148 Count Elements With Strictly Smaller and Greater Elements rs
2149 Rearrange Array Elements by Sign rs
2150 Find All Lonely Numbers in the Array rs
2151 Maximum Good People Based on Statements rs
2154 Keep Multiplying Found Values by Two rs
2155 All Divisions With the Highest Score of a Binary Array rs
2160 Minimum Sum of Four Digit Number After Splitting Digits rs
2161 Partition Array According to Given Pivot py
2162 Minimum Cost to Set Cooking Time rs
2164 Sort Even and Odd Indices Independently py
2165 Smallest Value of the Rearranged Number rs
2166 Design Bitset py
2169 Count Operations to Obtain Zero py
2171 Removing Minimum Number of Magic Beans rs
2176 Count Equal and Divisible Pairs in an Array rs
2177 Find Three Consecutive Integers That Sum to a Given Number rs
2178 Maximum Split of Positive Even Integers rs
2180 Count Integers With Even Digit Sum py
2181 Merge Nodes in Between Zeros py
2182 Construct String With Repeat Limit rs
2185 Counting Words With a Given Prefix rs
2186 Minimum Number of Steps to Make Two Strings Anagram II rs
2187 Minimum Time to Complete Trips rs
2190 Most Frequent Number Following Key In an Array rs
2191 Sort the Jumbled Numbers rs
2194 Cells in a Range on an Excel Sheet rs
2195 Append K Integers With Minimal Sum rs
2196 Create Binary Tree From Descriptions py
2200 Find All K-Distant Indices in an Array rs
2201 Count Artifacts That Can Be Extracted rs
2206 Divide Array Into Equal Pairs rs
2208 Minimum Operations to Halve Array Sum py
2210 Count Hills and Valleys in an Array py
2211 Count Collisions on a Road rs
2212 Maximum Points in an Archery Competition rs
2215 Find the Difference of Two Arrays rs
2216 Minimum Deletions to Make Array Beautiful rs
2217 Find Palindrome With Fixed Length rs
2220 Minimum Bit Flips to Convert Number rs
2221 Find Triangular Sum of an Array rs
2222 Number of Ways to Select Buildings rs
2224 Minimum Number of Operations to Convert Time py
2225 Find Players With Zero or One Losses py
2226 Maximum Candies Allocated to K Children rs
2227 Encrypt and Decrypt Strings py
2231 Largest Number After Digit Swaps by Parity rs
2232 Minimize Result by Adding Parentheses to Expression py
2233 Maximum Product After K Increments rs
2235 Add Two Integers pyΒ Β rs
2236 Root Equals Sum of Children py
2239 Find Closest Number to Zero rs
2240 Number of Ways to Buy Pens and Pencils rs
2241 Design an ATM Machine rs
2243 Calculate Digit Sum of a String py
2244 Minimum Rounds to Complete All Tasks py
2248 Intersection of Multiple Arrays py
2249 Count Lattice Points Inside a Circle rs
2251 Number of Flowers in Full Bloom rs
2255 Count Prefixes of a Given String rs
2256 Minimum Average Difference rs
2259 Remove Digit From Number to Maximize Result py
2260 Minimum Consecutive Cards to Pick Up rs
2264 Largest 3-Same-Digit Number in String rs
2265 Count Nodes Equal to Average of Subtree py
2266 Count Number of Texts py
2269 Find the K-Beauty of a Number py
2270 Number of Ways to Split Array rs
2271 Maximum White Tiles Covered by a Carpet rs
2273 Find Resultant Array After Removing Anagrams py
2274 Maximum Consecutive Floors Without Special Floors rs
2275 Largest Combination With Bitwise AND Greater Than Zero rs
2278 Percentage of Letter in String rs
2279 Maximum Bags With Full Capacity of Rocks rs
2280 Minimum Lines to Represent a Line Chart rs
2283 Check if Number Has Equal Digit Count and Digit Value rs
2284 Sender With Largest Word Count py
2287 Rearrange Characters to Make Target String rs
2289 Steps to Make Array Non-decreasing rs
2290 Minimum Obstacle Removal to Reach Corner rs
2293 Min Max Game rs
2294 Partition Array Such That Maximum Difference Is K rs
2295 Replace Elements in an Array rs
2299 Strong Password Checker II rs
2300 Successful Pairs of Spells and Potions py
2303 Calculate Amount Paid in Taxes rs
2304 Minimum Path Cost in a Grid rs
2306 Naming a Company py
2309 Greatest English Letter in Upper and Lower Case rs
2315 Count Asterisks rs
2317 Maximum XOR After Operations rs
2319 Check if Matrix Is X-Matrix py
2320 Count Number of Ways to Place Houses rs
2325 Decode the Message py
2326 Spiral Matrix IV py
2327 Number of People Aware of a Secret py
2331 Evaluate Boolean Binary Tree py
2335 Minimum Amount of Time to Fill Cups rs
2336 Smallest Number in Infinite Set rs
2337 Move Pieces to Obtain a String rs
2341 Maximum Number of Pairs in Array rs
2342 Max Sum of a Pair With Equal Sum of Digits rs
2343 Query Kth Smallest Trimmed Number py
2344 Minimum Deletions to Make Array Divisible py
2347 Best Poker Hand py
2348 Number of Zero-Filled Subarrays rs
2349 Design a Number Container System rs
2351 First Letter to Appear Twice rs
2352 Equal Row and Column Pairs rs
2357 Make Array Zero by Subtracting Equal Amounts rs
2358 Maximum Number of Groups Entering a Competition rs
2360 Longest Cycle in a Graph rs
2363 Merge Similar Items rs
2364 Count Number of Bad Pairs rs
2367 Number of Arithmetic Triplets rs
2368 Reachable Nodes With Restrictions py
2373 Largest Local Values in a Matrix rs
2374 Node With Highest Edge Score rs
2375 Construct Smallest Number From DI String rs
2379 Minimum Recolors to Get K Consecutive Black Blocks rs
2381 Shifting Letters II rs
2383 Minimum Hours of Training to Win a Competition rs
2384 Largest Palindromic Number rs
2389 Longest Subsequence With Limited Sum rs
2390 Removing Stars From a String rs
2391 Minimum Amount of Time to Collect Garbage rs
2395 Find Subarrays With Equal Sum rs
2396 Strictly Palindromic Number rs
2397 Maximum Rows Covered by Columns rs
2399 Check Distances Between Same Letters rs
2400 Number of Ways to Reach a Position After Exactly k Steps rs
2402 Meeting Rooms III rs
2404 Most Frequent Even Element rs
2405 Optimal Partition of String rs
2409 Count Days Spent Together py
2410 Maximum Matching of Players With Trainers rs
2412 Minimum Money Required Before Transactions rs
2413 Smallest Even Multiple rs
2414 Length of the Longest Alphabetical Continuous Substring rs
2415 Reverse Odd Levels of Binary Tree py
2418 Sort the People rs
2419 Longest Subarray With Maximum Bitwise AND rs
2420 Find All Good Indices rs
2423 Remove Letter To Equalize Frequency rs
2425 Bitwise XOR of All Pairings rs
2426 Number of Pairs Satisfying Inequality rs
2427 Number of Common Factors rs
2428 Maximum Sum of an Hourglass rs
2429 Minimize XOR rs
2432 The Employee That Worked on the Longest Task rs
2433 Find The Original Array of Prefix Xor rs
2434 Using a Robot to Print the Lexicographically Smallest String rs
2437 Number of Valid Clock Times py
2441 Largest Positive Integer That Exists With Its Negative rs
2442 Count Number of Distinct Integers After Reverse Operations py
2443 Sum of Number and Its Reverse py
2446 Determine if Two Events Have Conflict py
2451 Odd String Difference py
2453 Destroy Sequential Targets rs
2455 Average Value of Even Numbers That Are Divisible by Three rs
2457 Minimum Addition to Make Integer Beautiful py
2460 Apply Operations to an Array rs
2465 Number of Distinct Averages rs
2469 Convert the Temperature rs
2475 Number of Unequal Triplets in Array rs
2481 Minimum Cuts to Divide a Circle rs
2482 Difference Between Ones and Zeros in Row and Column rs
2483 Minimum Penalty for a Shop rs
2485 Find the Pivot Integer rs
2490 Circular Sentence py
2491 Divide Players Into Teams of Equal Skill rs
2496 Maximum Value of a String in an Array rs
2500 Delete Greatest Value in Each Row rs
2501 Longest Square Streak in an Array rs
2502 Design Memory Allocator rs
2506 Count Pairs Of Similar Strings rs
2509 Cycle Length Queries in a Tree rs
2511 Maximum Enemy Forts That Can Be Captured rs
2512 Reward Top K Students py
2515 Shortest Distance to Target String in a Circular Array rs
2520 Count the Digits That Divide a Number rs
2521 Distinct Prime Factors of Product of Array rs
2523 Closest Prime Numbers in Range rs
2525 Categorize Box According to Criteria rs
2526 Find Consecutive Integers from a Data Stream rs
2529 Maximum Count of Positive Integer and Negative Integer py
2535 Difference Between Element Sum and Digit Sum of an Array rs
2540 Minimum Common Value rs
2544 Alternating Digit Sum rs
2549 Count Distinct Numbers on Board rs
2550 Count Collisions of Monkeys on a Polygon rs
2553 Separate the Digits in an Array rs
2554 Maximum Number of Integers to Choose From a Range I rs
2558 Take Gifts From the Richest Pile rs
2559 Count Vowel Strings in Ranges rs
2562 Find the Array Concatenation Value rs
2566 Maximum Difference by Remapping a Digit py
2570 Merge Two 2D Arrays by Summing Values rs
2574 Left and Right Sum Differences rs
2578 Split With Minimum Sum py
2579 Count Total Number of Colored Cells rs
2582 Pass the Pillow rs
2585 Number of Ways to Earn Points rs
2586 Count the Number of Vowel Strings in Range py
2591 Distribute Money to Maximum Children rs
2593 Find Score of an Array After Marking All Elements rs
2594 Minimum Time to Repair Cars rs
2595 Number of Even and Odd Bits rs
2596 Check Knight Tour Configuration rs
2598 Smallest Missing Non-negative Integer After Operations rs
2600 K Items With the Maximum Sum rs
2601 Prime Subtraction Operation rs
2602 Minimum Operations to Make All Array Elements Equal rs
2605 Form Smallest Number From Two Digit Arrays rs
2606 Find the Substring With Maximum Cost rs
2609 Find the Longest Balanced Substring of a Binary String rs
2611 Mice and Cheese rs