Skip to content

👩‍🦲 LeetCode solutions 👨‍🦲

Notifications You must be signed in to change notification settings

fruit-in/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

中文

Problems

#TitleLanguages
1Two Sumpy  rs  c
2Add Two Numberspy  rb
3Longest Substring Without Repeating Charactersrs
4Median of Two Sorted Arraysrs
5Longest Palindromic Substringrs
6ZigZag Conversionpy
7Reverse Integerpy  c
8String to Integer (atoi)py
9Palindrome Numberpy  c
10Regular Expression Matchingrs
11Container With Most Waterrs  c
12Integer to Romanpy  rb
13Roman to Integerrs
14Longest Common Prefixpy
153Sumrs
163Sum Closestrs
17Letter Combinations of a Phone Numberpy
184Sumrs
19Remove Nth Node From End of Listpy  rb
20Valid Parenthesespy
21Merge Two Sorted Listspy
22Generate Parenthesesrs
23Merge k Sorted Listspy
24Swap Nodes in Pairspy
25Reverse Nodes in k-Grouppy
26Remove Duplicates from Sorted Arrayrs
27Remove Elementrb  rs
28Implement strStr()py
29Divide Two Integersrs
31Next Permutationrs
33Search in Rotated Sorted Arrayrs
34Find First and Last Position of Element in Sorted Arrayrs
35Search Insert Positionpy
36Valid Sudokurs
37Sudoku Solverpy
38Count and Saypy  rb
39Combination Sumrb
41First Missing Positivers
42Trapping Rain Waterrs
43Multiply Stringsrs
44Wildcard Matchingrs
45Jump Game IIrs
46Permutationsrs
47Permutations IIrs
48Rotate Imagers
49Group Anagramsrs
50Pow(x, n)rs
51N-Queenspy
52N-Queens IIpy
53Maximum Subarrayrs
54Spiral Matrixrs
55Jump Gamerb  rs
56Merge Intervalsrs
57Insert Intervalrb  rs
58Length of Last Wordrs
59Spiral Matrix IIrs
60Permutation Sequencers
61Rotate Listpy
62Unique Pathsrs
63Unique Paths IIrs
64Minimum Path Sumrb  rs
65Valid Numberpy
66Plus Oners
67Add Binarypy
68Text Justificationrs
69Sqrt(x)rs
70Climbing Stairsrs
71Simplify Pathpy
72Edit Distancers
73Set Matrix Zeroesrs
74Search a 2D Matrixrs
75Sort Colorsrs
76Minimum Window Substringrs
77Combinationspy
78Subsetsrs
79Word Searchpy
80Remove Duplicates from Sorted Array IIrs
81Search in Rotated Sorted Array IIrs
82Remove Duplicates from Sorted List IIrb
83Remove Duplicates from Sorted Listpy
84Largest Rectangle in Histogramrs
85Maximal Rectanglers
86Partition Listpy
87Scramble Stringpy
88Merge Sorted Arraypy  rb
89Gray Coders
90Subsets IIrs
91Decode Wayspy  rb
92Reverse Linked List IIpy
93Restore IP Addressesrs
94Binary Tree Inorder Traversalpy  rs
95Unique Binary Search Trees IIpy
96Unique Binary Search Treesrb  rs
98Validate Binary Search Treepy
100Same Treepy
101Symmetric Treepy
102Binary Tree Level Order Traversalpy
103Binary Tree Zigzag Level Order Traversalpy
104Maximum Depth of Binary Treepy
105Construct Binary Tree from Preorder and Inorder Traversalpy
106Construct Binary Tree from Inorder and Postorder Traversalpy
107Binary Tree Level Order Traversal IIpy
108Convert Sorted Array to Binary Search Treepy
109Convert Sorted List to Binary Search Treepy
110Balanced Binary Treepy
111Minimum Depth of Binary Treepy
112Path Sumpy
113Path Sum IIpy
114Flatten Binary Tree to Linked Listpy  rb
115Distinct Subsequencesrs
116Populating Next Right Pointers in Each Noderb
117Populating Next Right Pointers in Each Node IIpy
118Pascal's Trianglepy
119Pascal's Triangle IIpy
120Trianglers
121Best Time to Buy and Sell Stockrs
122Best Time to Buy and Sell Stock IIrs
123Best Time to Buy and Sell Stock IIIrs
124Binary Tree Maximum Path Sumpy
125Valid Palindromepy
128Longest Consecutive Sequencers
129Sum Root to Leaf Numberspy
130Surrounded Regionsrs
131Palindrome Partitioningpy
133Clone Graphpy
134Gas Stationrb  rs
135Candyrs
136Single Numberrs
137Single Number IIrs
138Copy List with Random Pointerpy
139Word Breakpy  rb
140Word Break IIpy
141Linked List Cyclepy
142Linked List Cycle IIpy
143Reorder Listpy
144Binary Tree Preorder Traversalpy
145Binary Tree Postorder Traversalpy
146LRU Cachepy
147Insertion Sort Listpy
149Max Points on a Linepy
150Evaluate Reverse Polish Notationrs
151Reverse Words in a Stringrs
152Maximum Product Subarrayrs
153Find Minimum in Rotated Sorted Arrayrb  rs
154Find Minimum in Rotated Sorted Array IIrs
155Min Stackrs
160Intersection of Two Linked Listspy
162Find Peak Elementrs
164Maximum Gaprs
165Compare Version Numbersrs
166Fraction to Recurring Decimalrs
167Two Sum II - Input array is sortedrs
168Excel Sheet Column Titlepy  rb
169Majority Elementrs
171Excel Sheet Column Numberpy
172Factorial Trailing Zeroesrs
173Binary Search Tree Iteratorpy
179Largest Numberrs
187Repeated DNA Sequencesrb  rs
188Best Time to Buy and Sell Stock IVrs
189Rotate Arrayrs
190Reverse Bitspy
191Number of 1 Bitsrs
198House Robberrs
199Binary Tree Right Side Viewpy
200Number of Islandspy
201Bitwise AND of Numbers Rangers
202Happy Numberrb  rs
203Remove Linked List Elementspy
204Count Primesrs
205Isomorphic Stringspy
206Reverse Linked Listpy
207Course Schedulers
208Implement Trie (Prefix Tree)py
209Minimum Size Subarray Sumrs
210Course Schedule IIrs
211Design Add and Search Words Data Structurepy
212Word Search IIpy
213House Robber IIrs
215Kth Largest Element in an Arrayrb
216Combination Sum IIIrs
217Contains Duplicaters
219Contains Duplicate IIrs
220Contains Duplicate IIIrs
221Maximal Squarers
222Count Complete Tree Nodespy
223Rectangle Arearb  rs
224Basic Calculatorpy
225Implement Stack using Queuesrs
226Invert Binary Treepy
227Basic Calculator IIpy
228Summary Rangespy
229Majority Element IIrs
230Kth Smallest Element in a BSTrb
231Power of Twors
232Implement Queue using Stacksrs
233Number of Digit Oners
234Palindrome Linked Listpy
235Lowest Common Ancestor of a Binary Search Treepy
236Lowest Common Ancestor of a Binary Treerb
237Delete Node in a Linked Listpy
238Product of Array Except Selfrs
239Sliding Window Maximumrs
240Search a 2D Matrix IIrb  kt
242Valid Anagramrs
257Binary Tree Pathspy
258Add Digitsrs
260Single Number IIIrs
263Ugly Numberrb  rs
264Ugly Number IIrs
268Missing Numberrs
273Integer to English Wordspy
274H-Indexrs
275H-Index IIrs
278First Bad Versionpy
279Perfect Squaresrs
283Move Zeroesrs
284Peeking Iteratorpy
287Find the Duplicate Numberrs
289Game of Lifers
290Word Patternpy
292Nim Gamerb  rs
295Find Median from Data Streampy
297Serialize and Deserialize Binary Treepy
299Bulls and Cowspy
300Longest Increasing Subsequencers
303Range Sum Query - Immutablepy
304Range Sum Query 2D - Immutablers
306Additive Numberrb  rs
309Best Time to Buy and Sell Stock with Cooldownrs
312Burst Balloonspy
313Super Ugly Numberrs
315Count of Smaller Numbers After Selfpy
316Remove Duplicate Lettersrs
318Maximum Product of Word Lengthspy
319Bulb Switcherrs
322Coin Changers
326Power of Threepy
327Count of Range Sumpy
328Odd Even Linked Listpy
329Longest Increasing Path in a Matrixrs
331Verify Preorder Serialization of a Binary Treers
332Reconstruct Itinerarypy
334Increasing Triplet Subsequencerb  rs
337House Robber IIIpy  rb
338Counting Bitsrs
341Flatten Nested List Iteratorrs
342Power of Fourrs
343Integer Breakrs
344Reverse Stringrs
345Reverse Vowels of a Stringpy  rb
347Top K Frequent Elementsrs
349Intersection of Two Arraysrs
350Intersection of Two Arrays IIrs
352Data Stream as Disjoint Intervalspy
354Russian Doll Envelopesrs
355Design Twitterrs
357Count Numbers with Unique Digitsrs
365Water and Jug Problemrb
367Valid Perfect Squarers
368Largest Divisible Subsetrs
371Sum of Two Integersrs
372Super Powrs
373Find K Pairs with Smallest Sumsrs
374Guess Number Higher or Lowerpy
375Guess Number Higher or Lower IIpy
380Insert Delete GetRandom O(1)rs
381Insert Delete GetRandom O(1) - Duplicates allowedpy
382Linked List Random Nodepy
383Ransom Notepy
384Shuffle an Arrayrs
386Lexicographical Numbersrs
387First Unique Character in a Stringrb  rs
389Find the Differencers
390Elimination Gamers
391Perfect Rectanglers
392Is Subsequencers
393UTF-8 Validationrs
394Decode Stringpy
395Longest Substring with At Least K Repeating Charactersrs
396Rotate Functionrs
397Integer Replacementrs
398Random Pick Indexpy
399Evaluate Divisionpy
400Nth Digitrs
401Binary Watchpy
402Remove K Digitsrs
403Frog Jumprs
404Sum of Left Leavespy
405Convert a Number to Hexadecimalpy
406Queue Reconstruction by Heightrs
409Longest Palindromers
410Split Array Largest Sumrs
412Fizz Buzzpy
413Arithmetic Slicesrb  rs
414Third Maximum Numberrs
415Add Stringspy
416Partition Equal Subset Sumrb  rs
417Pacific Atlantic Water Flowrs
419Battleships in a Boardrs
421Maximum XOR of Two Numbers in an Arraypy
423Reconstruct Original Digits from Englishrs
424Longest Repeating Character Replacementrs
427Construct Quad Treepy
429N-ary Tree Level Order Traversalpy  rb
430Flatten a Multilevel Doubly Linked Listrb
432All O`one Data Structurepy
433Minimum Genetic Mutationpy  rb
434Number of Segments in a Stringpy
435Non-overlapping Intervalsrs
436Find Right Intervalrb  rs
437Path Sum IIIpy
438Find All Anagrams in a Stringrb  rs
441Arranging Coinspy
442Find All Duplicates in an Arrayrs
443String Compressionpy
445Add Two Numbers IIpy
446Arithmetic Slices II - Subsequencepy
447Number of Boomerangsrs
448Find All Numbers Disappeared in an Arrayrs
449Serialize and Deserialize BSTpy
450Delete Node in a BSTpy  rb
451Sort Characters By Frequencyrs
452Minimum Number of Arrows to Burst Balloonsrb  rs
453Minimum Moves to Equal Array Elementsrs
4544Sum IIrs
455Assign Cookiesrb  rs
456132 Patternrs
459Repeated Substring Patternpy
460LFU Cachepy
461Hamming Distancers
462Minimum Moves to Equal Array Elements IIrs
463Island Perimeterrs
464Can I Winpy
467Unique Substrings in Wraparound Stringrb  rs
468Validate IP Addressrs
470Implement Rand10() Using Rand7()rs
473Matchsticks to Squarepy
474Ones and Zeroesrs
475Heatersrs
476Number Complementrs
477Total Hamming Distancerb  rs
478Generate Random Point in a Circlers
480Sliding Window Medianpy
481Magical Stringrs
482License Key Formattingpy
483Smallest Good Basepy
485Max Consecutive Onesrs
486Predict the Winnerpy
488Zuma Gamepy
492Construct the Rectanglers
493Reverse Pairspy
494Target Sumrb  rs
495Teemo Attackingrs
496Next Greater Element Irs
497Random Point in Non-overlapping Rectanglespy
498Diagonal Traversers
500Keyboard Rowpy
501Find Mode in Binary Search Treepy
502IPOrs
503Next Greater Element IIrs
504Base 7py
506Relative Ranksrs
507Perfect Numberrb  rs
508Most Frequent Subtree Sumpy
509Fibonacci Numberrs
513Find Bottom Left Tree Valuepy
514Freedom Trailrs
515Find Largest Value in Each Tree Rowpy
516Longest Palindromic Subsequencers
518Coin Change 2rs
519Random Flip Matrixpy
520Detect Capitalrs
521Longest Uncommon Subsequence Irb  rs
522Longest Uncommon Subsequence IIrs
523Continuous Subarray Sumrs
524Longest Word in Dictionary through Deletingpy
525Contiguous Arrayrb  rs
526Beautiful Arrangementrs
528Random Pick with Weightrs
529Minesweeperrs
530Minimum Absolute Difference in BSTpy
532K-diff Pairs in an Arrayrs
535Encode and Decode TinyURLpy
537Complex Number Multiplicationpy
538Convert BST to Greater Treepy
539Minimum Time Differencers
540Single Element in a Sorted Arrayrb
541Reverse String IIpy
54201 Matrixrs
543Diameter of Binary Treepy
547Number of Provincesrb  rs
551Student Attendance Record Ipy
552Student Attendance Record IIrs
553Optimal Divisionpy
554Brick Wallrs
556Next Greater Element IIIrs
557Reverse Words in a String IIIpy  rb
558Quad Tree Intersectionpy
559Maximum Depth of N-ary Treepy
560Subarray Sum Equals Krs
561Array Partition Irs
563Binary Tree Tiltpy
564Find the Closest Palindromepy
565Array Nestingrb  rs
566Reshape the Matrixrs
567Permutation in Stringrb  rs
572Subtree of Another Treepy
575Distribute Candiesrs
576Out of Boundary Pathsrs
581Shortest Unsorted Continuous Subarrayrs
583Delete Operation for Two Stringsrs
587Erect the Fencers
589N-ary Tree Preorder Traversalpy
590N-ary Tree Postorder Traversalpy
591Tag Validatorpy
592Fraction Addition and Subtractionrs
593Valid Squarers
594Longest Harmonious Subsequencers
598Range Addition IIrb  rs
599Minimum Index Sum of Two Listsrs
605Can Place Flowersrs
606Construct String from Binary Treepy
609Find Duplicate File in Systemrb
611Valid Triangle Numberrs
617Merge Two Binary Treespy
621Task Schedulerrs
622Design Circular Queuers
623Add One Row to Treepy
624Maximum Distance in Arraysrs
628Maximum Product of Three Numberspy
629K Inverse Pairs Arrayrs
633Sum of Square Numbersrs
636Exclusive Time of Functionsrs
637Average of Levels in Binary Treepy
639Decode Ways IIrs
640Solve the Equationrs
641Design Circular Dequers
643Maximum Average Subarray Irs
645Set Mismatchrs
646Maximum Length of Pair Chainrs
647Palindromic Substringsrb
648Replace Wordspy
6502 Keys Keyboardrs
652Find Duplicate Subtreespy
653Two Sum IV - Input is a BSTpy
654Maximum Binary Treepy  rb
655Print Binary Treepy
657Robot Return to Originpy  rs
658Find K Closest Elementsrs
659Split Array into Consecutive Subsequencesrs
661Image Smootherrs
662Maximum Width of Binary Treepy
665Non-decreasing Arraypy
668Kth Smallest Number in Multiplication Tablers
669Trim a Binary Search Treepy
670Maximum Swaprs
671Second Minimum Node In a Binary Treepy
672Bulb Switcher IIrs
673Number of Longest Increasing Subsequencepy
674Longest Continuous Increasing Subsequencers
675Cut Off Trees for Golf Eventrs
676Implement Magic Dictionarypy
677Map Sum Pairspy
67924 Gamepy
680Valid Palindrome IIpy
682Baseball Gamepy
686Repeated String Matchpy
687Longest Univalue Pathpy
688Knight Probability in Chessboardrb  rs
689Maximum Sum of 3 Non-Overlapping Subarraysrs
690Employee Importancepy
692Top K Frequent Wordsrb
693Binary Number with Alternating Bitsrs
695Max Area of Islandrb  rs
696Count Binary Substringspy  rb
697Degree of an Arrayrs
699Falling Squaresrs
700Search in a Binary Search Treepy
701Insert into a Binary Search Treepy
703Kth Largest Element in a Streamrs
704Binary Searchrs
705Design HashSetrs
706Design HashMaprs
707Design Linked Listpy
709To Lower Casers
710Random Pick with Blacklistpy
712Minimum ASCII Delete Sum for Two Stringsrs
713Subarray Product Less Than Krb  rs
714Best Time to Buy and Sell Stock with Transaction Feers
7171-bit and 2-bit Charactersrs
718Maximum Length of Repeated Subarrayrs
719Find K-th Smallest Pair Distancepy
720Longest Word in Dictionarypy
721Accounts Mergepy
722Remove Commentspy
724Find Pivot Indexrb  rs
725Split Linked List in Partspy
728Self Dividing Numberspy
729My Calendar Ipy
731My Calendar IIpy
733Flood Fillrs
735Asteroid Collisionrb
738Monotone Increasing Digitsrs
739Daily Temperaturesrs
740Delete and Earnrs
743Network Delay Timers
744Find Smallest Letter Greater Than Targetrs
745Prefix and Suffix Searchpy
746Min Cost Climbing Stairsrs
747Largest Number At Least Twice of Othersrs
748Shortest Completing Wordpy
752Open the Lockrb  rs
754Reach a Numberrs
757Set Intersection Size At Least Twopy
762Prime Number of Set Bits in Binary Representationpy
763Partition Labelsrs
764Largest Plus Signrs
765Couples Holding Handspy
766Toeplitz Matrixrs
767Reorganize Stringrs
768Max Chunks To Make Sorted IIrs
769Max Chunks To Make Sortedrb  rs
771Jewels and Stonesrs
773Sliding Puzzlers
775Global and Local Inversionsrb  rs
778Swim in Rising Waterrs
779K-th Symbol in Grammarrs
781Rabbits in Forestrb  rs
783Minimum Distance Between BST Nodespy
784Letter Case Permutationpy
785Is Graph Bipartite?rs
786K-th Smallest Prime Fractionrs
787Cheapest Flights Within K Stopsrs
788Rotated Digitsrs
789Escape The Ghostsrb  rs
790Domino and Tromino Tilingrs
791Custom Sort Stringrs
792Number of Matching Subsequencesrs
793[Preimage Size of Factorial Zeroes Function]rs
794Valid Tic-Tac-Toe Staters
795Number of Subarrays with Bounded Maximumrs
796Rotate Stringrs
797All Paths From Source to Targetpy
798Smallest Rotation with Highest Scorers
799Champagne Towerrs
801Minimum Swaps To Make Sequences Increasingrs
804Unique Morse Code Wordspy
805Split Array With Same Averagepy
806Number of Lines To Write Stringpy
807Max Increase to Keep City Skyliners
808Soup Servingsrs
809Expressive Wordsrs
810Chalkboard XOR Gamers
811Subdomain Visit Countrs
812Largest Triangle Arears
813Largest Sum of Averagespy
814Binary Tree Pruningpy  rb
815Bus Routesrs
816Ambiguous Coordinatesrs
817Linked List Componentspy  rb
819Most Common Wordpy
820Short Encoding of Wordsrs
821Shortest Distance to a Characterpy
822Card Flipping Gamers
823Binary Trees With Factorspy
824Goat Latinpy
825Friends Of Appropriate Agespy
826Most Profit Assigning Workrs
828Count Unique Characters of All Substrings of a Given Stringrs
829Consecutive Numbers Sumpy
830Positions of Large Groupsrs
831Masking Personal Informationrb
832Flipping an Imagepy
833Find And Replace in Stringpy
836Rectangle Overlaprs
838Push Dominoesrb  rs
839Similar String Groupspy
840Magic Squares In Gridrs
841Keys and Roomsrs
842Split Array into Fibonacci Sequencepy
844Backspace String Comparepy
845Longest Mountain in Arrayrs
846Hand of Straightsrs
847Shortest Path Visiting All Nodesrs
848Shifting Lettersrs
849Maximize Distance to Closest Personrs
851Loud and Richrs
852Peak Index in a Mountain Arrayrs
853Car Fleetrs
856Score of Parenthesesrs
857Minimum Cost to Hire K Workersrs
858Mirror Reflectionrb  rs
859Buddy Stringspy
860Lemonade Changers
861Score After Flipping Matrixrs
862Shortest Subarray with Sum at Least Krs
863All Nodes Distance K in Binary Treepy
865Smallest Subtree with all the Deepest Nodespy
866Prime Palindromers
867Transpose Matrixpy
868Binary Gaprs
869Reordered Power of 2rs
870Advantage Shufflerb  rs
871Minimum Number of Refueling Stopsrs
872Leaf-Similar Treespy
873Length of Longest Fibonacci Subsequencers
874Walking Robot Simulationrs
875Koko Eating Bananasrb  rs
876Middle of the Linked Listpy
877Stone Gamers
878Nth Magical Numberpy
879Profitable Schemesrs
880Decoded String at Indexrs
881Boats to Save Peoplerb
883Projection Area of 3D Shapesrs
884Uncommon Words from Two Sentencespy
885Spiral Matrix IIIrs
888Fair Candy Swaprs
889Construct Binary Tree from Preorder and Postorder Traversalpy
890Find and Replace Patternpy
891Sum of Subsequence Widthsrs
892Surface Area of 3D Shapesrb  rs
893Groups of Special-Equivalent Stringsrs
894All Possible Full Binary Treesrb
895Maximum Frequency Stackrs
896Monotonic Arrayrs
897Increasing Order Search Treepy
899Orderly Queuers
900RLE Iteratorrs
901Online Stock Spanrs
902Numbers At Most N Given Digit Setrs
904Fruit Into Basketsrs
905Sort Array By Parityrs
907Sum of Subarray Minimumsrs
908Smallest Range Irs
909Snakes and Laddersrs
910Smallest Range IIrs
911Online Electionrs
912Sort an Arrayrs
914X of a Kind in a Deck of Cardsrs
915Partition Array into Disjoint Intervalsrb  rs
916Word Subsetsrb  rs
917Reverse Only Letterspy
918Maximum Sum Circular Subarrayrs
919Complete Binary Tree Inserterpy
920Number of Music Playlistsrs
921Minimum Add to Make Parentheses Validrs
922Sort Array By Parity IIpy
9233Sum With Multiplicityrs
924Minimize Malware Spreadpy
925Long Pressed Namepy
926Flip String to Monotone Increasingrs
927Three Equal Partsrs
929Unique Email Addressespy  rb
930Binary Subarrays With Sumrs
931Minimum Falling Path Sumrs
933Number of Recent Callsrs
934Shortest Bridgers
935Knight Dialerrb  rs
937Reorder Data in Log Filespy
938Range Sum of BSTpy
939Minimum Area Rectanglepy  rs
941Valid Mountain Arrayrs
942DI String Matchpy
944Delete Columns to Make Sortedpy
945Minimum Increment to Make Array Uniquerb  rs
946Validate Stack Sequencesrb  rs
948Bag of Tokensrb  rs
949Largest Time for Given Digitspy
950Reveal Cards In Increasing Orderrs
951Flip Equivalent Binary Treesrb
953Verifying an Alien Dictionarypy
954Array of Doubled Pairspy
956Tallest Billboardrs
957Prison Cells After N Daysrs
958Check Completeness of a Binary Treepy
961N-Repeated Element in Size 2N Arrayrs
962Maximum Width Ramprs
963Minimum Area Rectangle IIrs
965Univalued Binary Treepy
966Vowel Spellcheckerpy
967Numbers With Same Consecutive Differencesrb  rs
968Binary Tree Cameraspy
969Pancake Sortingpy
970Powerful Integersrs
973K Closest Points to Originrs
974Subarray Sums Divisible by Krb  rs
975Odd Even Jumppy
976Largest Perimeter Trianglers
977Squares of a Sorted Arrayrs
978Longest Turbulent Subarrayrs
979Distribute Coins in Binary Treepy
980Unique Paths IIIpy
981Time Based Key-Value Storepy
982Triples with Bitwise AND Equal To Zerors
983Minimum Cost For Ticketsrs
984String Without AAA or BBBrb
985Sum of Even Numbers After Queriespy
986Interval List Intersectionsrb  rs
987Vertical Order Traversal of a Binary Treepy
988Smallest String Starting From Leafpy
989Add to Array-Form of Intergerpy
990Satisfiability of Equality Equationsrs
991Broken Calculatorrs
993Cousins in Binary Treepy
994Rotting Orangesrs
997Find the Town Judgers
998Maximum Binary Tree IIpy  rb
999Available Captures for Rookrs
1001Grid Illuminationrs
1002Find Common Characterspy
1003Check If Word Is Valid After Substitutionspy
1004Max Consecutive Ones IIIrs
1005Maximize Sum Of Array After K Negationsrs
1006Clumsy Factorialrb  rs
1007Minimum Domino Rotations For Equal Rowrs
1008Construct Binary Search Tree from Preorder Traversalpy
1009Complement of Base 10 Integerrs
1010Pairs of Songs With Total Durations Divisible by 60rs
1011Capacity To Ship Packages Within D Daysrs
1012Numbers With Repeated Digitsrs
1013Partition Array Into Three Parts With Equal Sumrs
1014Best Sightseeing Pairrs
1015Smallest Integer Divisible by Krs
1016Binary String With Substrings Representing 1 To Nrs
1017Convert to Base -2rs
1018Binary Prefix Divisible By 5py
1019Next Greater Node In Linked Listpy  rb
1020Number of Enclavesrs
1021Remove Outermost Parenthesesrs
1022Sum of Root To Leaf Binary Numberspy
1023Camelcase Matchingrs
1024Video Stitchingrs
1025Divisor Gamers
1026Maximum Difference Between Node and Ancestorpy
1027Longest Arithmetic Subsequencers
1028Recover a Tree From Preorder Traversalpy
1029Two City Schedulingpy
1030Matrix Cells in Distance Orderrs
1031Maximum Sum of Two Non-Overlapping Subarraysrs
1033Moving Stones Until Consecutiverb  rs
1034Coloring A Borderrs
1035Uncrossed Linesrs
1037Valid Boomerangrs
1038Binary Search Tree to Greater Sum Treepy
1039Minimum Score Triangulation of Polygonpy
1040Moving Stones Until Consecutive IIrs
1041Robot Bounded In Circlers
1042Flower Planting With No Adjacentrs
1043Partition Array for Maximum Sumrs
1046Last Stone Weightpy
1047Remove All Adjacent Duplicates In Stringpy
1048Longest String Chainpy
1051Height Checkerpy
1052Grumpy Bookstore Ownerrb  rs
1053Previous Permutation With One Swaprs
1054Distant Barcodesrs
1061Lexicographically Smallest Equivalent Stringpy
1071Greatest Common Divisor of Stringspy
1073Adding Two Negabinary Numbersrs
1074Number of Submatrices That Sum to Targetrs
1078Occurrences After Bigrampy
1079Letter Tile Possibilitiespy
1080Insufficient Nodes in Root to Leaf Pathspy
1081Smallest Subsequence of Distinct Charactersrs
1089Duplicate Zerosrs
1090Largest Values From Labelsrb
1091Shortest Path in Binary Matrixrs
1093Statistics from a Large Samplers
1094Car Poolingrs
1095Find in Mountain Arraypy
1103Distribute Candies to Peoplepy
1104Path In Zigzag Labelled Binary Treers
1105Filling Bookcase Shelvesrs
1106Parsing A Boolean Expressionrs
1108Defanging an IP Addressrs
1109Corporate Flight Bookingsrs
1110Delete Nodes And Return Forestpy  rb
1111Maximum Nesting Depth of Two Valid Parentheses Stringsrs
1122Relative Sort Arrayrs
1123Lowest Common Ancestor of Deepest Leavespy
1124Longest Well-Performing Intervalrs
1125Smallest Sufficient Teamrs
1128Number of Equivalent Domino Pairsrs
1129Shortest Path with Alternating Colorsrs
1130Minimum Cost Tree From Leaf Valuespy
1131Maximum of Absolute Value Expressionrs
1137N-th Tribonacci Numberrs
1138Alphabet Board Pathrb  rs
1139Largest 1-Bordered Squarers
1140Stone Game IIpy
1143Longest Common Subsequencers
1144Decrease Elements To Make Array Zigzagrs
1145Binary Tree Coloring Gamepy
1146Snapshot Arrayrb  rs
1154Day of the Yearrs
1155Number of Dice Rolls With Target Sumpy  rs
1156Swap For Longest Repeated Character Substringrs
1160Find Words That Can Be Formed by Characterspy
1161Maximum Level Sum of a Binary Treepy
1162As Far from Land as Possiblers
1169invalid-transactionsrs
1170Compare Strings by Frequency of the Smallest Characterpy
1171Remove Zero Sum Consecutive Nodes from Linked Listpy
1172Dinner Plate Stacksrs
1175Prime Arrangementsrs
1177Can Make Palindrome from Substringrs
1178Number of Valid Words for Each Puzzlers
1184Distance Between Bus Stopsrs
1185Day of the Weekrs
1187Make Array Strictly Increasingrs
1189Maximum Number of Balloonsrs
1190Reverse Substrings Between Each Pair of Parenthesesrs
1191K-Concatenation Maximum Sumrb  rs
1200Minimum Absolute Differencers
1202Smallest String With Swapspy
1207Unique Number of Occurrencesrs
1208Get Equal Substrings Within Budgetrb  rs
1209Remove All Adjacent Duplicates in String IIrs
1210Minimum Moves to Reach Target with Rotationsrs
1217Play with Chipsrs
1218Longest Arithmetic Subsequence of Given Differencers
1220Count Vowels Permutationrs
1221Split a String in Balanced Stringsrb  rs
1222Queens That Can Attack the Kingrs
1223Dice Roll Simulationrs
1224Maximum Equal Frequencyrs
1227Airplane Seat Assignment Probabilityrs
1232Check If It Is a Straight Liners
1233Remove Sub-Folders from the Filesystemrs
1234Replace the Substring for Balanced Stringrb  rs
1235Maximum Profit in Job Schedulingrs
1237Find Positive Integer Solution for a Given Equationpy
1238Circular Permutation in Binary Representationrs
1239Maximum Length of a Concatenated String with Unique Charactersrs
1247Minimum Swaps to Make Strings Equalpy
1248Count Number of Nice Subarraysrb  rs
1249Minimum Remove to Make Valid Parenthesesrs
1250Check If It Is a Good Arraypy
1252Cells with Odd Values in a Matrixrs
1253Reconstruct a 2-Row Binary Matrixrb  rs
1255Maximum Score Words Formed by Lettersrs
1260Shift 2D Gridrs
1261Find Elements in a Contaminated Binary Treepy
1262Greatest Sum Divisible by Threers
1263Minimum Moves to Move a Box to Their Target Locationrs
1266Minimum Time Visiting All Pointsrb  rs
1267Count Servers that Communicaterb  rs
1268Search Suggestions Systemrs
1269Number of Ways to Stay in the Same Place After Some Stepsrs
1275Find Winner on a Tic Tac Toe Gamers
1276Number of Burgers with No Waste of Ingredientspy  rs
1277Count Square Submatrices with All Onesrs
1278Palindrome Partitioning IIIpy
1281Subtract the Product and Sum of Digits of an Integerrs
1282Group the People Given the Group Size They Belong Tors
1283Find the Smallest Divisor Given a Thresholdpy
1284Minimum Number of Flips to Convert Binary Matrix to Zero Matrixrs
1286Iterator for Combinationrs
1287Element Appearing More Than 25% In Sorted Arrayrs
1288Remove Covered Intervalsrs
1289Minimum Falling Path Sum IIrs
1290Convert Binary Number in a Linked List to Integerpy
1291Sequential Digitsrb  rs
1292Maximum Side Length of a Square with Sum Less than or Equal to Thresholdpy
1293Shortest Path in a Grid with Obstacles Eliminationrs
1295Find Numbers with Even Number of Digitspy
1296Divide Array in Sets of K Consecutive Numbersrs
1297Maximum Number of Occurrences of a Substringrs
1298Maximum Candies You Can Get from Boxesrs
1299Replace Elements with Greatest Element on Right Siders
1300Sum of Mutated Array Closest to Targetrs
1301Number of Paths with Max Scorers
1302Deepest Leaves Sumpy
1304Find N Unique Integers Sum up to Zerors
1305All Elements in Two Binary Search Treespy
1306Jump Game IIIrb
1309Decrypt String from Alphabet to Integer Mappingpy
1310XOR Queries of a Subarrayrs
1311Get Watched Videos by Your Friendspy
1312Minimum Insertion Steps to Make a String Palindromepy
1313Decompress Run-Length Encoded Listrb  rs
1314Matrix Block Sumrs
1315Sum of Nodes with Even-Valued Grandparentpy
1316Distinct Echo Substringsrs
1317Convert Integer to the Sum of Two No-Zero Integersrs
1318Minimum Flips to Make a OR b Equal to crs
1320Minimum Distance to Type a Word Using Two Fingersrs
1323Maximum 69 Numberrs
1324Print Words Verticallypy
1325Delete Leaves With a Given Valuepy
1328Break a Palindromerb  rs
1329Sort the Matrix Diagonallyrb  rs
1330Reverse Subarray To Maximize Array Valuers
1331Rank Transform of an Arraypy
1332Remove Palindromic Subsequencespy
1333Filter Restaurants by Vegan-Friendly, Price and Distancerb  rs
1334Find the City With the Smallest Number of Neighbors at a Threshold Distancers
1335Minimum Difficulty of a Job Schedulers
1337The K Weakest Rows in a Matrixrs
1338Reduce Array Size to The Halfrb
1339Maximum Product of Splitted Binary Treepy
1340Jump Game Vrs
1342Number of Steps to Reduce a Number to Zerorb  rs
1343Number of Sub-arrays of Size K and Average Greater than or Equal to Thresholdrb  rs
1344Angle Between Hands of a Clockrs
1346Check If N and Its Double Existrs
1347Minimum Number of Steps to Make Two Strings Anagramrs
1348Tweet Counts Per Frequencypy
1349Maximum Students Taking Examrs
1351Count Negative Numbers in a Sorted Matrixrs
1352Product of the Last K Numbersrs
1353Maximum Number of Events That Can Be Attendedrs
1356Sort Integers by The Number of 1 Bitsrs
1357Apply Discount Every n Ordersrs
1358Number of Substrings Containing All Three Charactersrs
1359Count All Valid Pickup and Delivery Optionsrs
1360Number of Days Between Two Datesrs
1361Validate Binary Tree Nodesrs
1362Closest Divisorsrb  rs
1363Largest Multiple of Threers
1365How Many Numbers Are Smaller Than the Current Numberjs
1366Rank Teams by Votesrs
1367Linked List in Binary Treepy  rb
1368Minimum Cost to Make at Least One Valid Path in a Gridrs
1370Increasing Decreasing Stringrs
1371Find the Longest Substring Containing Vowels in Even Countsrs
1372Longest ZigZag Path in a Binary Treepy
1373Maximum Sum BST in Binary Treepy
1374Generate a String With Characters That Have Odd Countspy
1375Bulb Switcher IIIrs
1376Time Needed to Inform All Employeesrb  rs
1377Frog Position After T Secondsrs
1379Find a Corresponding Node of a Binary Tree in a Clone of That Treepy
1380Lucky Numbers in a Matrixrs
1381Design a Stack With Increment Operationrs
1382Balance a Binary Search Treepy
1383Maximum Performance of a Teamrs
1385Find the Distance Value Between Two Arraysrs
1386Cinema Seat Allocationrs
1387Sort Integers by The Power Valuers
1389Create Target Array in the Given Orderrb  rs
1390Four Divisorsrs
1391Check if There is a Valid Path in a Gridrs
1394Find Lucky Integer in an Arrayrs
1395Count Number of Teamsrs
1396Design Underground Systemrs
1399Count Largest Grouppy
1400Construct K Palindrome Stringsrs
1401Circle and Rectangle Overlappingrs
1402Reducing Dishesrs
1403Minimum Subsequence in Non-Increasing Orderrs
1404Number of Steps to Reduce a Number in Binary Representation to Oners
1405Longest Happy Stringrs
1406Stone Game IIIpy
1408String Matching in an Arrayrs
1409Queries on a Permutation With Keyrb  rs  kt
1410HTML Entity Parserrs
1411Number of Ways to Paint N × 3 Gridrs
1413Minimum Value to Get Positive Step by Step Sumrs
1414Find the Minimum Number of Fibonacci Numbers Whose Sum Is Krb  rs
1415The k-th Lexicographical String of All Happy Strings of Length npy  rb
1416Restore The Arraypy
1417Reformat The Stringrs
1418Display Table of Food Orders in a Restaurantpy
1419Minimum Number of Frogs Croakingrb  rs
1420Build Array Where You Can Find The Maximum Exactly K Comparisonsrs
1422Maximum Score After Splitting a Stringrs
1423Maximum Points You Can Obtain from Cardsrs
1424Diagonal Traverse IIrb
1425Constrained Subsequence Sumrs
1431Kids With the Greatest Number of Candiesrs
1432Max Difference You Can Get From Changing an Integerrs
1433Check If a String Can Break Another Stringrs
1434Number of Ways to Wear Different Hats to Each Otherrs
1436Destination Cityrs
1437Check If All 1's Are at Least Length K Places Awayrs
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limitrs
1439Find the Kth Smallest Sum of a Matrix With Sorted Rowsrs
1441Build an Array With Stack Operationsrs
1443Minimum Time to Collect All Apples in a Treers
1446Consecutive Charactersrs
1447Simplified Fractionspy  rb
1448Count Good Nodes in Binary Treepy
1449Form Largest Integer With Digits That Add up to Targetrs
1450Number of Students Doing Homework at a Given Timers
1451Rearrange Words in a Sentencerb
1452People Whose List of Favorite Companies Is Not a Subset of Another Listrs
1455Check If a Word Occurs As a Prefix of Any Word in a Sentencers
1456Maximum Number of Vowels in a Substring of Given Lengthpy  rb
1457Pseudo-Palindromic Paths in a Binary Treepy
1458Max Dot Product of Two Subsequencesrs
1460Make Two Arrays Equal by Reversing Sub-arraysrs
1461Check If a String Contains All Binary Codes of Size Krs
1462Course Schedule IVrs
1463Cherry Pickup IIrs
1464Maximum Product of Two Elements in an Arrayrs
1465Maximum Area of a Piece of Cake After Horizontal and Vertical Cutspy
1467Probability of a Two Boxes Having The Same Number of Distinct Ballspy
1470Shuffle the Arrayrs
1471The k Strongest Values in an Arrayrb  rs
1472Design Browser Historyrs
1473Paint House IIIrs
1475Final Prices With a Special Discount in a Shoprs
1476Subrectangle Queriesrs
1477Find Two Non-overlapping Sub-arrays Each With Target Sumrs
1480Running Sum of 1d Arrayrb  rs
1481Least Number of Unique Integers after K Removalsrb  rs
1482Minimum Number of Days to Make m Bouquetsrs
1486XOR Operation in an Arrayrb  rs
1487Making File Names Uniquerb
1488Avoid Flood in The Cityrs
1491Average Salary Excluding the Minimum and Maximum Salaryrb  rs
1492The kth Factor of npy  rb  rs
1493Longest Subarray of 1's After Deleting One Elementrb  rs
1496Path Crossingrs
1497Check If Array Pairs Are Divisible by krs
1498Number of Subsequences That Satisfy the Given Sum Conditionrs
1499Max Value of Equationrs
1502Can Make Arithmetic Progression From Sequencerb  rs
1503Last Moment Before All Ants Fall Out of a Plankrb  rs
1504Count Submatrices With All Onesrs
1507Reformat Datepy
1508Range Sum of Sorted Subarray Sumsrb  rs
1509Minimum Difference Between Largest and Smallest Value in Three Movesrb
1510Stone Game IVpy
1512Number of Good Pairsrb  rs
1513Number of Substrings With Only 1srs
1514Path with Maximum Probabilitypy
1518Water Bottlesrb  rs
1519Number of Nodes in the Sub-Tree With the Same Labelpy
1521Find a Value of a Mysterious Function Closest to Targetrs
1523Count Odd Numbers in an Interval Rangerb
1524Number of Sub-arrays With Odd Sumrb  rs
1525Number of Good Ways to Split a Stringrs
1528Shuffle Stringpy  rb
1529Bulb Switcher IVrs
1530Number of Good Leaf Nodes Pairsrb
1534Count Good Tripletsrb
1535Find the Winner of an Array Gamerb  rs
1537Get the Maximum Scorers
1539Kth Missing Positive Numberrs
1540Can Convert String in K Movesrs
1542Find Longest Awesome Substringrs
1544Make The String Greatrb
1545Find Kth Bit in Nth Binary Stringrs
1546Maximum Number of Non-Overlapping Subarrays With Sum Equals Targetrs
1547Minimum Cost to Cut a Stickpy
1550Three Consecutive Oddspy
1551Minimum Operations to Make Array Equalrb  rs
1552Magnetic Force Between Two Ballsrs
1553Minimum Number of Days to Eat N Orangespy
1556Thousand Separatorrs
1557Minimum Number of Vertices to Reach All Nodesrs
1558Minimum Numbers of Function Calls to Make Target Arrayrs
1560Most Visited Sector in a Circular Trackrs
1561Maximum Number of Coins You Can Getrs
1562Find Latest Group of Size Mpy
1563Stone Game Vrs
1566Detect Pattern of Length M Repeated K or More Timesrs
1567Maximum Length of Subarray With Positive Productrs
1572Matrix Diagonal Sumrs
1573Number of Ways to Split a Stringrs
1574Shortest Subarray to be Removed to Make Array Sortedrs
1575Count All Possible Routesrs
1576Replace All ?'s to Avoid Consecutive Repeating Charactersrs
1577Number of Ways Where Square of Number Is Equal to Product of Two Numberspy
1578Minimum Time to Make Rope Colorfulrs
1582Special Positions in a Binary Matrixrs
1588Sum of All Odd Length Subarraysrs
1589Maximum Sum Obtained of Any Permutationrs
1590Make Sum Divisible by Prs
1592Rearrange Spaces Between Wordspy
1594Maximum Non Negative Product in a Matrixrs
1598Crawler Log Folderrb
1599Maximum Profit of Operating a Centennial Wheelrs
1600Throne Inheritancers
1601Maximum Number of Achievable Transfer Requestsrs
1603Design Parking Systemrs
1604Alert Using Same Key-Card Three or More Times in a One Hour Periodrs
1605Find Valid Matrix Given Row and Column Sumsrs
1606Find Servers That Handled Most Number of Requestsrs
1608Special Array With X Elements Greater Than or Equal Xrs
1609Even Odd Treepy  rb
1610Maximum Number of Visible Pointsrs
1611Minimum One Bit Operations to Make Integers Zeropy
1614Maximum Nesting Depth of the Parenthesesrb  rs
1615Maximal Network Rankrs
1616Split Two Strings to Make Palindromers
1619Mean of Array After Removing Some Elementsrb  rs
1620Coordinate With Maximum Network Qualityrs
1621Number of Sets of K Non-Overlapping Line Segmentspy
1622Fancy Sequencepy
1624Largest Substring Between Two Equal Charactersrb  rs
1629Slowest Keyrb  rs
1630Arithmetic Subarraysrb  rs
1631Path With Minimum Effortrs
1632Rank Transform of a Matrixpy
1636Sort Array by Increasing Frequencyrs
1637Widest Vertical Area Between Two Points Containing No Pointsrb  rs
1638Count Substrings That Differ by One Characterrs
1639Number of Ways to Form a Target String Given a Dictionaryrs
1640Check Array Formation Through Concatenationrb  rs
1641Count Sorted Vowel Stringsrb  rs
1642Furthest Building You Can Reachrs
1643Kth Smallest Instructionsrs
1646Get Maximum in Generated Arrayrs
1647Minimum Deletions to Make Character Frequencies Uniquerb  rs
1648Sell Diminishing-Valued Colored Ballsrs
1649Create Sorted Array through Instructionspy
1652Defuse the Bombrb  rs
1653Minimum Deletions to Make String Balancedrs
1654Minimum Jumps to Reach Homers
1656Design an Ordered Streampy
1657Determine if Two Strings Are Closepy
1658Minimum Operations to Reduce X to Zerorb  rs
1662Check If Two String Arrays are Equivalentrb  rs
1663Smallest String With A Given Numeric Valuerb  rs
1664Ways to Make a Fair Arrayrb  rs
1668Maximum Repeating Substringpy  rb
1669Merge In Between Linked Listsrb
1670Design Front Middle Back Queuers
1672Richest Customer Wealthrb  rs
1673Find the Most Competitive Subsequencers
1678Goal Parser Interpretationrs
1679Max Number of K-Sum Pairsrs
1684Count the Number of Consistent Stringsrs
1685Sum of Absolute Differences in a Sorted Arrayrb  rs
1688Count of Matches in Tournamentrb  rs
1689Partitioning Into Minimum Number Of Deci-Binary Numbersrb  rs
1694Reformat Phone Numberpy
1695Maximum Erasure Valuerb  rs
1696Jump Game VIrs
1700Number of Students Unable to Eat Lunchrb  rs
1701Average Waiting Timerb  rs
1702Maximum Binary String After Changers
1704Determine if String Halves Are Alikerb  rs
1705Maximum Number of Eaten Applesrs
1706Where Will the Ball Fallrs
1710Maximum Units on a Truckrs
1711Count Good Mealsrs
1712Ways to Split Array Into Three Subarraysrs
1713Minimum Operations to Make a Subsequencers
1716Calculate Money in Leetcode Bankrb  rs
1720Decode XORed Arrayrb  rs
1721Swapping Nodes in a Linked Listrb
1722Minimize Hamming Distance After Swap Operationspy
1725Number Of Rectangles That Can Form The Largest Squarerb  rs
1726Tuple with Same Productrb  rs
1732Find the Highest Altituderb  rs
1733Minimum Number of People to Teachrs
1734Decode XORed Permutationrs
1736Latest Time by Replacing Hidden Digitsrs
1737Change Minimum Characters to Satisfy One of Three Conditionsrs
1738Find Kth Largest XOR Coordinate Valuerb  rs
1739Building Boxesrs
1742Maximum Number of Balls in a Boxpy
1743Restore the Array From Adjacent Pairsrs
1744Can You Eat Your Favorite Candy on Your Favorite Day?rs
1745Palindrome Partitioning IVrs
1748Sum of Unique Elementsrs
1749Maximum Absolute Sum of Any Subarrayrb  rs
1750Minimum Length of String After Deleting Similar Endsrb  rs
1751Maximum Number of Events That Can Be Attended IIrs
1752Check if Array Is Sorted and Rotatedrb  rs
1753Maximum Score From Removing Stonesrb  rs
1754Largest Merge Of Two Stringspy
1758Minimum Changes To Make Alternating Binary Stringrb  rs
1759Count Number of Homogenous Substringsrs
1760Minimum Limit of Balls in a Bagrs
1761Minimum Degree of a Connected Trio in a Graphrs
1763Longest Nice Substringrb  rs
1764Form Array by Concatenating Subarrays of Another Arrayrs
1765Map of Highest Peakrs
1768Merge Strings Alternatelyrs
1769Minimum Number of Operations to Move All Balls to Each Boxrs
1770Maximum Score from Performing Multiplication Operationsrs
1771Maximize Palindrome Length From Subsequencespy
1773Count Items Matching a Rulers
1774Closest Dessert Costrs
1775Equal Sum Arrays With Minimum Number of Operationsrs
1779Find Nearest Point That Has the Same X or Y Coordinaters
1780Check if Number is a Sum of Powers of Threerb  rs
1781Sum of Beauty of All Substringsrs
1784Check if Binary String Has at Most One Segment of Onesrb  rs
1785Minimum Elements to Add to Form a Given Sumrb  rs
1790Check if One String Swap Can Make Strings Equalrs
1791Find Center of Star Graphrb  rs
1792Maximum Average Pass Ratiopy
1793Maximum Score of a Good Subarrayrs
1796Second Largest Digit in a Stringrs
1797Design Authentication Managerpy
1798Maximum Number of Consecutive Values You Can Makers
1799Maximize Score After N Operationspy
1800Maximum Ascending Subarray Sumrb  rs
1801Number of Orders in the Backlogrs
1802Maximum Value at a Given Index in a Bounded Arrayrs
1805Number of Different Integers in a Stringrs
1806Minimum Number of Operations to Reinitialize a Permutationrs
1807Evaluate the Bracket Pairs of a Stringpy
1808Maximize Number of Nice Divisorspy
1812Determine Color of a Chessboard Squarepy  rb
1813Sentence Similarity IIIrs
1814Count Nice Pairs in an Arrayrs
1816Truncate Sentencepy
1817Finding the Users Active Minutesrs
1818Minimum Absolute Sum Differencers
1822Sign of the Product of an Arrayrb  rs
1823Find the Winner of the Circular Gamers
1824Minimum Sideway Jumpsrs
1825Finding MK Averagepy
1827Minimum Operations to Make the Array Increasingrb  rs
1828Queries on Number of Points Inside a Circlepy
1829Maximum XOR for Each Queryrs
1832Check if the Sentence Is Pangramrs
1833Maximum Ice Cream Barsrs
1834Single-Threaded CPUrs
1835Find XOR Sum of All Pairs Bitwise ANDrs
1837Sum of Digits in Base Krb  rs
1838Frequency of the Most Frequent Elementrs
1839Longest Substring Of All Vowels in Orderrs
1840Maximum Building Heightrs
1844Replace All Digits with Charactersrs
1845Seat Reservation Managerpy
1846Maximum Element After Decreasing and Rearrangingrs
1847Closest Roompy
1848Minimum Distance to the Target Elementrs
1849Splitting a String Into Descending Consecutive Valuespy
1851Minimum Interval to Include Each Queryrs
1854Maximum Population Yearrs
1855Maximum Distance Between a Pair of Valuespy
1856Maximum Subarray Min-Productrs
1857Largest Color Value in a Directed Graphrs
1859Sorting the Sentencepy
1860Incremental Memory Leakrs
1861Rotating the Boxrs
1862Sum of Floored Pairspy
1863Sum of All Subset XOR Totalspy
1864Minimum Number of Swaps to Make the Binary String Alternatingrs
1865Finding Pairs With a Certain Sumrs
1866Number of Ways to Rearrange Sticks With K Sticks Visiblers
1869Longer Contiguous Segments of Ones than Zerosrs
1870Minimum Speed to Arrive on Timepy
1871Jump Game VIIrs
1872Stone Game VIIIrs
1876Substrings of Size Three with Distinct Charactersrs
1877Minimize Maximum Pair Sum in Arrayrs
1878Get Biggest Three Rhombus Sums in a Gridrs
1880Check if Word Equals Summation of Two Wordsrs
1881Maximum Value after Insertionrs
1882Process Tasks Using Serversrs
1883Minimum Skips to Arrive at Meeting On Timers
1884Egg Drop With 2 Eggs and N Floorsrs
1886Determine Whether Matrix Can Be Obtained By Rotationrs
1887Reduction Operations to Make the Array Elements Equalrs
1888Minimum Number of Flips to Make the Binary String Alternatingrs
1889Minimum Space Wasted From Packagingpy
1893Check if All the Integers in a Range Are Coveredpy
1894Find the Student that Will Replace the Chalkrs
1897Redistribute Characters to Make All Strings Equalrs
1899Merge Triplets to Form Target Tripletrs
1900The Earliest and Latest Rounds Where Players Competepy
1901Find a Peak Element IIrs
1903Largest Odd Number in Stringrs
1904The Number of Full Rounds You Have Playedpy
1905Count Sub Islandsrs
1909Remove One Element to Make the Array Strictly Increasingrs
1911Maximum Alternating Subsequence Sumrs
1912Design Movie Rental Systemrs
1913Maximum Product Difference Between Two Pairsrs
1915Number of Wonderful Substringsrs
1916Count Ways to Build Rooms in an Ant Colonypy
1920Build Array from Permutationrs
1921Eliminate Maximum Number of Monstersrs
1922Count Good Numbersrs
1925Count Square Sum Triplespy
1926Nearest Exit from Entrance in Mazers
1928Minimum Cost to Reach Destination in Timers
1929Concatenation of Arraypy  rs
1930Unique Length-3 Palindromic Subsequencesrs
1931Painting a Grid With Three Different Colorspy
1935Maximum Number of Words You Can Typepy
1936Add Minimum Number of Rungsrs
1941Check if All Characters Have Equal Number of Occurrencesrs
1942The Number of the Smallest Unoccupied Chairrs
1944Number of Visible People in a Queuers
1945Sum of Digits of String After Convertpy
1946Largest Number After Mutating Substringrs
1947Maximum Compatibility Score Sumpy
1952Three Divisorsrs
1953Maximum Number of Weeks for Which You Can Workrs
1954Minimum Garden Perimeter to Collect Enough Applesrs
1955Count Number of Special Subsequencesrs
1957Delete Characters to Make Fancy Stringpy
1958Check if Move is Legalrs
1961Check If String Is a Prefix of Arraypy
1962Remove Stones to Minimize the Totalrs
1963Minimum Number of Swaps to Make the String Balancedrs
1964Find the Longest Valid Obstacle Course at Each Positionpy
1967Number of Strings That Appear as Substrings in Wordpy
1968Array With Elements Not Equal to Average of Neighborsrs
1969Minimum Non-Zero Product of the Array Elementsrs
1970Last Day Where You Can Still Crosspy
1971Find if Path Exists in Graphpy
1974Minimum Time to Type Word Using Special Typewriterrs
1975Maximum Matrix Sumrs
1979Find Greatest Common Divisor of Arraypy  rb
1980Find Unique Binary Stringpy
1984Minimum Difference Between Highest and Lowest of K Scoresrs
1985Find the Kth Largest Integer in the Arraypy
1991Find the Middle Index in Arraypy
1992Find All Groups of Farmlandrs
1993Operations on Treers
1995Count Special Quadrupletspy
1996The Number of Weak Characters in the Gamers
2000Reverse Prefix of Wordpy
2001Number of Pairs of Interchangeable Rectanglespy
2002Maximum Product of the Length of Two Palindromic Subsequencesrs
2006Count Number of Pairs With Absolute Difference Krs
2007Find Original Array From Doubled Arrayrs
2008Maximum Earnings From Taxirs
2011Final Value of Variable After Performing Operationspy  rs
2012Sum of Beauty in the Arrayrs
2013Detect Squaresrs
2016Maximum Difference Between Increasing Elementsrs
2017Grid Gamers
2022Convert 1D Array Into 2D Arrayrs
2023Number of Pairs of Strings With Concatenation Equal to Targetpy
2024Maximize the Confusion of an Examrs
2025Maximum Number of Ways to Partition an Arrayrs
2027Minimum Moves to Convert Stringrs
2028Find Missing Observationsrs
2030Smallest K-Length Subsequence With Occurrences of a Letterrs
2032Two Out of Threepy
2034Stock Price Fluctuation rs
2037Minimum Number of Moves to Seat Everyoners
2038Remove Colored Pieces if Both Neighbors are the Same Colorrs
2039The Time When the Network Becomes Idlers
2040Kth Smallest Product of Two Sorted Arrayspy
2042Check if Numbers Are Ascending in a Sentencepy
2043Simple Bank Systempy
2044Count Number of Maximum Bitwise-OR Subsetsrs
2045Second Minimum Time to Reach Destinationrs
2047Number of Valid Words in a Sentencepy
2048Next Greater Numerically Balanced Numberrs
2049Count Nodes With the Highest Scorers
2050Parallel Courses IIIrs
2053Kth Distinct String in an Arraypy
2054Two Best Non-Overlapping Eventsrs
2055Plates Between Candlesrs
2057Smallest Index With Equal Valuers
2058Find the Minimum and Maximum Number of Nodes Between Critical Pointspy
2059Minimum Operations to Convert Numberrs
2062Count Vowel Substrings of a Stringpy
2063Vowels of All Substringsrs
2064Minimized Maximum of Products Distributed to Any Storers
2068Check Whether Two Strings are Almost Equivalentrs
2069Walking Robot Simulation IIpy
2070Most Beautiful Item for Each Queryrs
2073Time Needed to Buy Ticketspy
2074Reverse Nodes in Even Length Groupspy
2075Decode the Slanted Ciphertextrs
2076Process Restricted Friend Requestspy
2078Two Furthest Houses With Different Colorsrs
2079Watering Plantsrs
2080Range Frequency Queriesrs
2081Sum of k-Mirror Numberspy
2085Count Common Words With One Occurrencepy
2086Minimum Number of Food Buckets to Feed the Hamstersrs
2087Minimum Cost Homecoming of a Robot in a Gridpy
2088Count Fertile Pyramids in a Landrs
2089Find Target Indices After Sorting Arraypy
2090K Radius Subarray Averagesrs
2091Removing Minimum and Maximum From Arrayrs
2092Find All People With Secretpy
2094Finding 3-Digit Even Numbersrs
2095Delete the Middle Node of a Linked Listpy
2096Step-By-Step Directions From a Binary Tree Node to Anotherpy
2099Find Subsequence of Length K With the Largest Sumrs
2100Find Good Days to Rob the Bankrs
2101Detonate the Maximum Bombsrs
2102Sequentially Ordinal Rank Trackerpy
2103Rings and Rodsrs
2105Watering Plants IIrs
2106Maximum Fruits Harvested After at Most K Stepsrs
2108Find First Palindromic String in the Arrayrs
2109Adding Spaces to a Stringrs
2110Number of Smooth Descent Periods of a Stockrs
2111Minimum Operations to Make the Array K-Increasingpy
2114Maximum Number of Words Found in Sentencesrs
2115Find All Possible Recipes from Given Suppliespy
2117Abbreviating the Product of a Rangepy
2119A Number After a Double Reversalrs
2120Execution of All Suffix Instructions Staying in a Gridrs
2121Intervals Between Identical Elementspy
2122Recover the Original Arrayrs
2124Check if All A's Appears Before All B'spy
2125Number of Laser Beams in a Bankpy
2126Destroying Asteroidsrs
2129Capitalize the Titlepy
2130Maximum Twin Sum of a Linked Listpy
2131Longest Palindrome by Concatenating Two Letter Wordsrs
2133Check if Every Row and Column Contains All Numbersrs
2134Minimum Swaps to Group All 1's Together IIrs
2135Count Words Obtained After Adding a Letterrs
2136Earliest Possible Day of Full Bloomrs
2138Divide a String Into Groups of Size kpy
2139Minimum Moves to Reach Target Scorers
2140Solving Questions With Brainpowerrs
2144Minimum Cost of Buying Candies With Discountrs
2145Count the Hidden Sequencesrs
2146K Highest Ranked Items Within a Price Rangers
2147Number of Ways to Divide a Long Corridorrs
2148Count Elements With Strictly Smaller and Greater Elementsrs
2149Rearrange Array Elements by Signrs
2150Find All Lonely Numbers in the Arrayrs
2151Maximum Good People Based on Statementsrs
2154Keep Multiplying Found Values by Twors
2155All Divisions With the Highest Score of a Binary Arrayrs
2156Find Substring With Given Hash Valuepy
2160Minimum Sum of Four Digit Number After Splitting Digitsrs
2161Partition Array According to Given Pivotpy
2162Minimum Cost to Set Cooking Timers
2163Minimum Difference in Sums After Removal of Elementsrs
2164Sort Even and Odd Indices Independentlypy
2165Smallest Value of the Rearranged Numberrs
2166Design Bitsetpy
2167Minimum Time to Remove All Cars Containing Illegal Goodsrs
2169Count Operations to Obtain Zeropy
2171Removing Minimum Number of Magic Beansrs
2176Count Equal and Divisible Pairs in an Arrayrs
2177Find Three Consecutive Integers That Sum to a Given Numberrs
2178Maximum Split of Positive Even Integersrs
2179Count Good Triplets in an Arraypy
2180Count Integers With Even Digit Sumpy
2181Merge Nodes in Between Zerospy
2182Construct String With Repeat Limitrs
2185Counting Words With a Given Prefixrs
2186Minimum Number of Steps to Make Two Strings Anagram IIrs
2187Minimum Time to Complete Tripsrs
2188Minimum Time to Finish the Racers
2190Most Frequent Number Following Key In an Arrayrs
2191Sort the Jumbled Numbersrs
2192All Ancestors of a Node in a Directed Acyclic Graphpy
2194Cells in a Range on an Excel Sheetrs
2195Append K Integers With Minimal Sumrs
2196Create Binary Tree From Descriptionspy
2197Replace Non-Coprime Numbers in Arraypy
2200Find All K-Distant Indices in an Arrayrs
2201Count Artifacts That Can Be Extractedrs
2202Maximize the Topmost Element After K Movesrs
2206Divide Array Into Equal Pairsrs
2208Minimum Operations to Halve Array Sumpy
2209Minimum White Tiles After Covering With Carpetsrs
2210Count Hills and Valleys in an Arraypy
2211Count Collisions on a Roadrs
2212Maximum Points in an Archery Competitionrs
2215Find the Difference of Two Arraysrs
2216Minimum Deletions to Make Array Beautifulrs
2217Find Palindrome With Fixed Lengthrs
2218Maximum Value of K Coins From Pilesrs
2220Minimum Bit Flips to Convert Numberrs
2221Find Triangular Sum of an Arrayrs
2222Number of Ways to Select Buildingsrs
2224Minimum Number of Operations to Convert Timepy
2225Find Players With Zero or One Lossespy
2226Maximum Candies Allocated to K Childrenrs
2227Encrypt and Decrypt Stringspy
2231Largest Number After Digit Swaps by Parityrs
2232Minimize Result by Adding Parentheses to Expressionpy
2233Maximum Product After K Incrementsrs
2235Add Two Integerspy  rs
2236Root Equals Sum of Childrenpy
2239Find Closest Number to Zerors
2240Number of Ways to Buy Pens and Pencilsrs
2241Design an ATM Machiners
2243Calculate Digit Sum of a Stringpy
2244Minimum Rounds to Complete All Taskspy
2245Maximum Trailing Zeros in a Cornered Pathrs
2246Longest Path With Different Adjacent Charactersrs
2248Intersection of Multiple Arrayspy
2249Count Lattice Points Inside a Circlers
2250Count Number of Rectangles Containing Each Pointpy
2251Number of Flowers in Full Bloomrs
2255Count Prefixes of a Given Stringrs
2256Minimum Average Differencers
2257Count Unguarded Cells in the Gridrs
2258Escape the Spreading Firers
2259Remove Digit From Number to Maximize Resultpy
2260Minimum Consecutive Cards to Pick Uprs
2262Total Appeal of A Stringrs
2264Largest 3-Same-Digit Number in Stringrs
2265Count Nodes Equal to Average of Subtreepy
2266Count Number of Textspy
2267Check if There Is a Valid Parentheses String Pathrs
2269Find the K-Beauty of a Numberpy
2270Number of Ways to Split Arrayrs
2271Maximum White Tiles Covered by a Carpetrs
2273Find Resultant Array After Removing Anagramspy
2274Maximum Consecutive Floors Without Special Floorsrs
2275Largest Combination With Bitwise AND Greater Than Zerors
2278Percentage of Letter in Stringrs
2279Maximum Bags With Full Capacity of Rocksrs
2280Minimum Lines to Represent a Line Chartrs
2283Check if Number Has Equal Digit Count and Digit Valuers
2284Sender With Largest Word Countpy
2287Rearrange Characters to Make Target Stringrs
2288Apply Discount to Pricespy
2289Steps to Make Array Non-decreasingrs
2290Minimum Obstacle Removal to Reach Cornerrs
2293Min Max Gamers
2294Partition Array Such That Maximum Difference Is Krs
2295Replace Elements in an Arrayrs
2296Design a Text Editorrs
2299Strong Password Checker IIrs
2300Successful Pairs of Spells and Potionspy
2301Match Substring After Replacementrs
2302Count Subarrays With Score Less Than Krs
2303Calculate Amount Paid in Taxesrs
2304Minimum Path Cost in a Gridrs
2306Naming a Companypy
2309Greatest English Letter in Upper and Lower Casers
2310Sum of Numbers With Units Digit Krs
2312Selling Pieces of Woodpy
2315Count Asterisksrs
2316Count Unreachable Pairs of Nodes in an Undirected Graphpy
2317Maximum XOR After Operationsrs
2318Number of Distinct Roll Sequencesrs
2319Check if Matrix Is X-Matrixpy
2320Count Number of Ways to Place Housesrs
2321Maximum Score Of Spliced Arrayrs
2325Decode the Messagepy
2326Spiral Matrix IVpy
2327Number of People Aware of a Secretpy
2328Number of Increasing Paths in a Gridrs
2331Evaluate Boolean Binary Treepy
2332The Latest Time to Catch a Busrs
2334Subarray With Elements Greater Than Varying Thresholdrs
2335Minimum Amount of Time to Fill Cupsrs
2336Smallest Number in Infinite Setrs
2337Move Pieces to Obtain a Stringrs
2341Maximum Number of Pairs in Arrayrs
2342Max Sum of a Pair With Equal Sum of Digitsrs
2343Query Kth Smallest Trimmed Numberpy
2344Minimum Deletions to Make Array Divisiblepy
2347Best Poker Handpy
2348Number of Zero-Filled Subarraysrs
2349Design a Number Container Systemrs
2351First Letter to Appear Twicers
2352Equal Row and Column Pairsrs
2354Number of Excellent Pairsrs
2357Make Array Zero by Subtracting Equal Amountsrs
2358Maximum Number of Groups Entering a Competitionrs
2359Find Closest Node to Given Two Nodesrs
2360Longest Cycle in a Graphrs
2363Merge Similar Itemsrs
2364Count Number of Bad Pairsrs
2367Number of Arithmetic Tripletsrs
2368Reachable Nodes With Restrictionspy
2373Largest Local Values in a Matrixrs
2374Node With Highest Edge Scorers
2375Construct Smallest Number From DI Stringrs
2379Minimum Recolors to Get K Consecutive Black Blocksrs
2381Shifting Letters IIrs
2382Maximum Segment Sum After Removalspy
2383Minimum Hours of Training to Win a Competitionrs
2384Largest Palindromic Numberrs
2385Amount of Time for Binary Tree to Be Infectedpy
2389Longest Subsequence With Limited Sumrs
2390Removing Stars From a Stringrs
2391Minimum Amount of Time to Collect Garbagers
2395Find Subarrays With Equal Sumrs
2396Strictly Palindromic Numberrs
2397Maximum Rows Covered by Columnsrs
2398Maximum Number of Robots Within Budgetrs
2399Check Distances Between Same Lettersrs
2400Number of Ways to Reach a Position After Exactly k Stepsrs
2402Meeting Rooms IIIrs
2404Most Frequent Even Elementrs
2405Optimal Partition of Stringrs
2406Divide Intervals Into Minimum Number of Groupsrs
2409Count Days Spent Togetherpy
2410Maximum Matching of Players With Trainersrs
2412Minimum Money Required Before Transactionsrs
2413Smallest Even Multiplers
2414Length of the Longest Alphabetical Continuous Substringrs
2415Reverse Odd Levels of Binary Treepy
2416Sum of Prefix Scores of Stringspy
2418Sort the Peoplers
2419Longest Subarray With Maximum Bitwise ANDrs
2420Find All Good Indicesrs
2423Remove Letter To Equalize Frequencyrs
2424Longest Uploaded Prefixrs
2425Bitwise XOR of All Pairingsrs
2426Number of Pairs Satisfying Inequalityrs
2427Number of Common Factorsrs
2428Maximum Sum of an Hourglassrs
2429Minimize XORrs
2432The Employee That Worked on the Longest Taskrs
2433Find The Original Array of Prefix Xorrs
2434Using a Robot to Print the Lexicographically Smallest Stringrs
2435Paths in Matrix Whose Sum Is Divisible by Krs
2437Number of Valid Clock Timespy
2438Range Product Queries of Powersrs
2439Minimize Maximum of Arrayrs
2441Largest Positive Integer That Exists With Its Negativers
2442Count Number of Distinct Integers After Reverse Operationspy
2443Sum of Number and Its Reversepy
2444Count Subarrays With Fixed Boundsrs
2446Determine if Two Events Have Conflictpy
2448Minimum Cost to Make Array Equalrs
2449Minimum Number of Operations to Make Arrays Similarrs
2451Odd String Differencepy
2452Words Within Two Edits of Dictionaryrs
2453Destroy Sequential Targetsrs
2454Next Greater Element IVrs
2455Average Value of Even Numbers That Are Divisible by Threers
2456Most Popular Video Creatorpy
2457Minimum Addition to Make Integer Beautifulpy
2460Apply Operations to an Arrayrs
2461Maximum Sum of Distinct Subarrays With Length Krs
2462Total Cost to Hire K Workersrs
2465Number of Distinct Averagesrs
2466Count Ways To Build Good Stringsrs
2468Split Message Based on Limitrs
2469Convert the Temperaturers
2472Maximum Number of Non-overlapping Palindrome Substringsrs
2475Number of Unequal Triplets in Arrayrs
2476Closest Nodes Queries in a Binary Search Treepy
2478Number of Beautiful Partitionspy
2481Minimum Cuts to Divide a Circlers
2482Difference Between Ones and Zeros in Row and Columnrs
2483Minimum Penalty for a Shoprs
2484Count Palindromic Subsequencesrs
2485Find the Pivot Integerrs
2486Append Characters to String to Make Subsequencers
2487Remove Nodes From Linked Listpy
2488Count Subarrays With Median Krs
2490Circular Sentencepy
2491Divide Players Into Teams of Equal Skillrs
2496Maximum Value of a String in an Arrayrs
2498Frog Jump IIrs
2500Delete Greatest Value in Each Rowrs
2501Longest Square Streak in an Arrayrs
2502Design Memory Allocatorrs
2503Maximum Number of Points From Grid Queriesrs
2506Count Pairs Of Similar Stringsrs
2508Add Edges to Make Degrees of All Nodes Evenrs
2509Cycle Length Queries in a Treers
2511Maximum Enemy Forts That Can Be Capturedrs
2512Reward Top K Studentspy
2514Count Anagramsrs
2515Shortest Distance to Target String in a Circular Arrayrs
2516Take K of Each Character From Left and Rightrs
2520Count the Digits That Divide a Numberrs
2521Distinct Prime Factors of Product of Arrayrs
2523Closest Prime Numbers in Rangers
2525Categorize Box According to Criteriars
2526Find Consecutive Integers from a Data Streamrs
2528Maximize the Minimum Powered Cityrs
2529Maximum Count of Positive Integer and Negative Integerpy
2532Time to Cross a Bridgers
2535Difference Between Element Sum and Digit Sum of an Arrayrs
2537Count the Number of Good Subarraysrs
2540Minimum Common Valuers
2541Minimum Operations to Make Array Equal IIrs
2544Alternating Digit Sumrs
2545Sort the Students by Their Kth Scorers
2547Minimum Cost to Split an Arrayrs
2549Count Distinct Numbers on Boardrs
2550Count Collisions of Monkeys on a Polygonrs
2553Separate the Digits in an Arrayrs
2554Maximum Number of Integers to Choose From a Range Irs
2555Maximize Win From Two Segmentspy
2558Take Gifts From the Richest Pilers
2559Count Vowel Strings in Rangesrs
2561Rearranging Fruitsrs
2562Find the Array Concatenation Valuers
2563Count the Number of Fair Pairspy
2564Substring XOR Queriespy
2565Subsequence With the Minimum Scorers
2566Maximum Difference by Remapping a Digitpy
2568Minimum Impossible ORrs
2570Merge Two 2D Arrays by Summing Valuesrs
2574Left and Right Sum Differencesrs
2577Minimum Time to Visit a Cell In a Gridrs
2578Split With Minimum Sumpy
2579Count Total Number of Colored Cellsrs
2582Pass the Pillowrs
2585Number of Ways to Earn Pointsrs
2586Count the Number of Vowel Strings in Rangepy
2591Distribute Money to Maximum Childrenrs
2592Maximize Greatness of an Arrayrs
2593Find Score of an Array After Marking All Elementsrs
2594Minimum Time to Repair Carsrs
2595Number of Even and Odd Bitsrs
2596Check Knight Tour Configurationrs
2598Smallest Missing Non-negative Integer After Operationsrs
2600K Items With the Maximum Sumrs
2601Prime Subtraction Operationrs
2602Minimum Operations to Make All Array Elements Equalrs
2605Form Smallest Number From Two Digit Arraysrs
2606Find the Substring With Maximum Costrs
2609Find the Longest Balanced Substring of a Binary Stringrs
2610Convert an Array Into a 2D Array With Conditionsrs
2611Mice and Cheesers
2614Prime In Diagonalrs
close