Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

200 Commits

Repository files navigation

LeetCode Solution

Cracking the LeetCode with multiple programming language

#CategoryTitleDifficultySQLJavaScriptPython3GoSwiftKotlinScalaCC++C#JavaRuby
1AlgorithmsTwo SumEasy✔️✔️✔️
2AlgorithmsAdd Two NumberMedium✔️✔️✔️
7AlgorithmsReverse IntegerEasy✔️✔️✔️
9AlgorithmsPalindrome NumberEasy✔️✔️✔️
11AlgorithmsContainer With Most WaterMedium✔️✔️✔️
13AlgorithmsRoman to IntegerEasy✔️✔️✔️
14AlgorithmsLongest Common PrefixEasy✔️✔️✔️
20AlgorithmsValid ParenthesesEasy✔️✔️✔️
21AlgorithmsMerge Two Sorted ListsEasy✔️✔️✔️
26AlgorithmsRemove Duplicates from Sorted ArrayEasy✔️✔️✔️
27AlgorithmsRemove ElementEasy✔️✔️✔️
28AlgorithmsImplement strStr()Easy✔️✔️✔️
35AlgorithmsSearch Insert PositionEasy✔️✔️✔️
38AlgorithmsCount and SayEasy✔️✔️✔️
53AlgorithmsMaximum SubarrayEasy✔️✔️✔️
58AlgorithmsLength of Last WordEasy✔️✔️✔️
66AlgorithmsPlus OneEasy✔️✔️✔️
67AlgorithmsAdd BinaryEasy✔️✔️✔️
69AlgorithmsSqrt(x)Easy✔️✔️✔️
70AlgorithmsClimbing StairsEasy✔️✔️✔️
83AlgorithmsRemove Duplicates from Sorted ListEasy✔️✔️✔️
88AlgorithmsMerge Sorted ArrayEasy✔️✔️✔️
100AlgorithmsSame TreeEasy✔️✔️✔️
101AlgorithmsSymmetric TreeEasy✔️✔️✔️
104AlgorithmsMaximum Depth of Binary TreeEasy✔️✔️✔️
107AlgorithmsBinary Tree Level Order Traversal IIEasy✔️✔️✔️
108AlgorithmsConvert Sorted Array to Binary Search TreeEasy✔️✔️✔️
110AlgorithmsBalanced Binary TreeEasy✔️✔️✔️
111AlgorithmsMinimum Depth of Binary TreeEasy✔️✔️✔️
112AlgorithmsPath SumEasy✔️✔️✔️
118AlgorithmsPascal's TriangleEasy✔️✔️✔️
119AlgorithmsPascal's Triangle IIEasy✔️✔️✔️
121AlgorithmsBest Time to Buy and Sell StockEasy✔️✔️✔️
122AlgorithmsBest Time to Buy and Sell Stock IIEasy✔️✔️✔️
125AlgorithmsValid PalindromeEasy✔️✔️✔️
136AlgorithmsSingle NumberEasy✔️✔️✔️
141AlgorithmsLinked List CycleEasy✔️✔️✔️
155AlgorithmsMin StackEasy✔️✔️✔️
160AlgorithmsIntersection of Two Linked ListsEasy✔️✔️✔️
167AlgorithmsTwo Sum II - Input array is sortedEasy✔️✔️✔️
168AlgorithmsExcel Sheet Column TitleEasy✔️✔️✔️
169AlgorithmsMajority ElementEasy✔️✔️✔️
171AlgorithmsExcel Sheet Column NumberEasy✔️✔️✔️
172AlgorithmsFactorial Trailing ZeroesEasy✔️✔️✔️
175DatabaseCombine Two TablesEasy✔️
176DatabaseSecond Highest SalaryEasy✔️
177DatabaseNth Highest SalaryMedium✔️
178DatabaseRank ScoresMedium✔️
180DatabaseConsecutive NumbersMedium✔️
181DatabaseEmployees Earning More Than Their ManagersEasy✔️
182DatabaseDuplicate EmailsEasy✔️
183DatabaseCustomers Who Never OrderEasy✔️
184DatabaseDepartment Highest SalaryMedium✔️
185DatabaseDepartment Top Three SalariesHard✔️
189AlgorithmsRotate ArrayEasy✔️✔️✔️
190AlgorithmsReverse BitsEasy✔️✔️✔️
191AlgorithmsNumber of 1 BitsEasy✔️✔️✔️
192ShellWord FrequencyMedium
193ShellValid Phone NumbersEasy
194ShellTranspose FileMedium
195ShellTenth LineEasy
196DatabaseDelete Duplicate EmailsEasy✔️
197DatabaseRising TemperatureEasy✔️
198AlgorithmsHouse RobberEasy✔️✔️✔️
202AlgorithmsHappy NumberEasy✔️✔️✔️
203AlgorithmsRemove Linked List ElementsEasy✔️✔️✔️
204AlgorithmsCount PrimesEasy✔️✔️✔️
205AlgorithmsIsomorphic StringsEasy✔️✔️✔️
206AlgorithmsReverse Linked ListEasy✔️✔️✔️
217AlgorithmsContains DuplicateEasy✔️✔️✔️
219AlgorithmsContains Duplicate IIEasy✔️✔️✔️
225AlgorithmsImplement Stack using QueuesEasy✔️✔️✔️
226AlgorithmsInvert Binary TreeEasy✔️✔️✔️
231AlgorithmsPower of TwoEasy✔️✔️✔️
232AlgorithmsImplement Queue using StacksEasy✔️✔️✔️
234AlgorithmsPalindrome Linked ListEasy✔️✔️✔️
235AlgorithmsLowest Common Ancestor of a Binary Search TreeEasy✔️✔️✔️
237AlgorithmsDelete Node in a Linked ListEasy✔️✔️✔️
242AlgorithmsValid AnagramEasy✔️✔️✔️
257AlgorithmsBinary Tree PathsEasy✔️✔️✔️
258AlgorithmsAdd DigitsEasy✔️✔️✔️
262DatabaseTrips and UsersHard✔️
263AlgorithmsUgly NumberEasy✔️✔️✔️
268AlgorithmsMissing NumberEasy✔️✔️✔️
278AlgorithmsFirst Bad VersionEasy✔️✔️
283AlgorithmsMove ZeroesEasy✔️✔️✔️
290AlgorithmsWord PatternEasy✔️✔️✔️
292AlgorithmsNim GameEasy✔️✔️✔️
299AlgorithmsBulls and CowsEasy✔️✔️✔️
303AlgorithmsRange Sum Query - ImmutableEasy✔️✔️✔️
326AlgorithmsPower of ThreeEasy✔️✔️✔️
342AlgorithmsPower of FourEasy✔️✔️✔️
344AlgorithmsReverse StringEasy✔️✔️✔️
345AlgorithmsReverse Vowels of a StringEasy✔️✔️✔️
349AlgorithmsIntersection of Two ArraysEasy✔️✔️✔️
350AlgorithmsIntersection of Two Arrays IIEasy✔️✔️✔️
367AlgorithmsValid Perfect SquareEasy✔️✔️✔️
371AlgorithmsSum of Two IntegersEasy✔️✔️✔️
374AlgorithmsGuess Number Higher or LowerEasy✔️✔️✔️
383AlgorithmsRansom NoteEasy✔️✔️✔️
387AlgorithmsFirst Unique Character in a StringEasy✔️✔️✔️
389AlgorithmsFind the DifferenceEasy✔️✔️✔️
392AlgorithmsIs SubsequenceEasy✔️✔️✔️
400AlgorithmsNth DigitEasy✔️✔️✔️
401AlgorithmsBinary WatchEasy✔️✔️✔️
404AlgorithmsSum of Left LeavesEasy✔️✔️✔️
405AlgorithmsConvert a Number to HexadecimalEasy✔️✔️✔️
409AlgorithmsLongest PalindromeEasy✔️✔️✔️
412AlgorithmsFizz BuzzEasy✔️✔️✔️
414AlgorithmsThird Maximum NumberEasy✔️✔️✔️
415AlgorithmsAdd StringsEasy✔️✔️✔️
429AlgorithmsN-ary Tree Level Order TraversalEasy✔️✔️
434AlgorithmsNumber of Segments in a StringEasy✔️✔️✔️
437AlgorithmsPath Sum IIIEasy✔️✔️✔️
438AlgorithmsFind All Anagrams in a StringEasy✔️✔️✔️
441AlgorithmsArranging CoinsEasy✔️✔️✔️
443AlgorithmsString CompressionEasy✔️✔️✔️
447AlgorithmsNumber of BoomerangsEasy✔️✔️✔️
448AlgorithmsFind All Numbers Disappeared in an ArrayEasy✔️✔️✔️
453AlgorithmsMinimum Moves to Equal Array ElementsEasy✔️✔️✔️
455AlgorithmsAssign CookiesEasy✔️✔️✔️
458AlgorithmsPoor PigsHard✔️✔️✔️
459AlgorithmsRepeated Substring PatternEasy✔️✔️✔️
461AlgorithmsHamming DistanceEasy✔️✔️✔️
463AlgorithmsIsland PerimeterEasy✔️✔️
475AlgorithmsHeatersEasy✔️✔️✔️
476AlgorithmsNumber ComplementEasy✔️✔️✔️
482AlgorithmsLicense Key FormattingEasy✔️✔️✔️
485AlgorithmsMax Consecutive OnesEasy✔️✔️✔️
492AlgorithmsConstruct the RectangleEasy✔️✔️✔️
496AlgorithmsNext Greater Element IEasy✔️✔️✔️
500AlgorithmsKeyboard RowEasy✔️✔️✔️
501AlgorithmsFind Mode in Binary Search TreeEasy✔️✔️✔️
504AlgorithmsBase 7Easy✔️✔️✔️
506AlgorithmsRelative RanksEasy✔️✔️✔️
507AlgorithmsPerfect NumberEasy✔️✔️✔️
509AlgorithmsFibonacci NumberEasy✔️✔️✔️
520AlgorithmsDetect CapitalEasy✔️✔️✔️
521AlgorithmsLongest Uncommon Subsequence IEasy✔️✔️✔️
530AlgorithmsMinimum Absolute Difference in BSTEasy✔️✔️✔️
532AlgorithmsK-diff Pairs in an ArrayEasy✔️✔️✔️
538AlgorithmsConvert BST to Greater TreeEasy✔️✔️✔️
541AlgorithmsReverse String IIEasy✔️✔️✔️
543AlgorithmsDiameter of Binary TreeEasy✔️✔️✔️
551AlgorithmsStudent Attendance Record IEasy✔️✔️✔️
557AlgorithmsReverse Words in a String IIIEasy✔️✔️✔️
558AlgorithmsQuad Tree IntersectionEasy✔️✔️
559AlgorithmsMaximum Depth of N-ary TreeEasy✔️✔️
561AlgorithmsArray Partition IEasy✔️✔️✔️
563AlgorithmsBinary Tree TiltEasy✔️✔️✔️
566AlgorithmsReshape the MatrixEasy✔️✔️✔️
572AlgorithmsSubtree of Another TreeEasy✔️✔️✔️
575AlgorithmsDistribute CandiesEasy✔️✔️✔️
581AlgorithmsShortest Unsorted Continuous SubarrayEasy✔️✔️✔️
589AlgorithmsN-ary Tree Preorder TraversalEasy✔️✔️
590AlgorithmsN-ary Tree Postorder TraversalEasy✔️✔️
594AlgorithmsLongest Harmonious SubsequenceEasy✔️✔️✔️
595DatabaseBig CountriesEasy✔️
596DatabaseClasses More Than 5 StudentsEasy✔️
598AlgorithmsRange Addition IIEasy✔️✔️✔️
599AlgorithmsMinimum Index Sum of Two ListsEasy✔️✔️✔️
601DatabaseHuman Traffic of StadiumHard✔️
605AlgorithmsCan Place FlowersEasy✔️✔️✔️
606AlgorithmsConstruct String from Binary TreeEasy✔️✔️✔️
617AlgorithmsMerge Two Binary TreesEasy✔️✔️✔️
620DatabaseNot Boring MoviesEasy✔️
626DatabaseExchange SeatsMedium✔️
627DatabaseSwap SalaryEasy✔️

Contributor

About

A repo to collect best solution for leetcode

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages