Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LeetCode solutions primarily written in Go

License

NotificationsYou must be signed in to change notification settings

kakugirai/leetcode-go

Repository files navigation

Go Report CardBuild Status

My LeetCode solutions primarily written in Go.Don't expect too much on those questions solved in other random languages.

README Generator Usage

Copy the cookies from your browser and write them into acookies.json file,

{    "__cfduid": "",    "_ga": "",    "LEETCODE_SESSION": "",    "_gid": "",    "__stripe_mid": "",    "c_a_u": ""}

Runreadme-generator.py. Here you ≡Go!

My progress

SolvedEasyMediumHard
16690679

Solutions

Question IDQuestionDifficultySolution
1Two SumEasyGo
2Add Two NumbersMediumGo
3Longest Substring Without Repeating CharactersMediumGo
4Median of Two Sorted ArraysHardGo
5Longest Palindromic SubstringMediumGo
7Reverse IntegerEasyGo
9Palindrome NumberEasyGo
11Container With Most WaterMediumGo
12Integer to RomanMediumGo
13Roman to IntegerEasyGo
14Longest Common PrefixEasyGo
153SumMediumGo
17Letter Combinations of a Phone NumberMediumGo
19Remove Nth Node From End of ListMediumGo,Python
20Valid ParenthesesEasyGo
21Merge Two Sorted ListsEasyGo
22Generate ParenthesesMediumGo
23Merge k Sorted ListsHardGo,Java
24Swap Nodes in PairsMediumGo
26Remove Duplicates from Sorted ArrayEasyGo
27Remove ElementEasyGo
28Implement strStr()EasyGo
31Next PermutationMediumGo
33Search in Rotated Sorted ArrayMediumGo
34Find First and Last Position of Element in Sorted ArrayMediumGo
35Search Insert PositionEasyGo
36Valid SudokuMediumGo
37Sudoku SolverHardGo
38Count and SayEasyGo
39Combination SumMediumGo
40Combination Sum IIMediumGo
43Multiply StringsMediumGo
46PermutationsMediumGo
48Rotate ImageMediumGo
49Group AnagramsMediumGo
50Pow(x, n)MediumGo
51N-QueensHardGo
52N-Queens IIHardGo
53Maximum SubarrayEasyGo
55Jump GameMediumGo
62Unique PathsMediumGo
64Minimum Path SumMediumGo
66Plus OneEasyGo
67Add BinaryEasyGo
69Sqrt(x)EasyGo
70Climbing StairsEasyGo
72Edit DistanceHardGo
73Set Matrix ZeroesMediumGo
74Search a 2D MatrixMediumGo,Python
78SubsetsMediumGo
79Word SearchMediumGo
88Merge Sorted ArrayEasyGo
91Decode WaysMediumGo
94Binary Tree Inorder TraversalMediumGo
98Validate Binary Search TreeMediumGo
100Same TreeEasyGo
101Symmetric TreeEasyGo
102Binary Tree Level Order TraversalMediumGo
104Maximum Depth of Binary TreeEasyGo
108Convert Sorted Array to Binary Search TreeEasyGo
109Convert Sorted List to Binary Search TreeMediumGo
110Balanced Binary TreeEasyGo
112Path SumEasyGo
113Path Sum IIMediumGo
114Flatten Binary Tree to Linked ListMediumGo
118Pascal's TriangleEasyGo
119Pascal's Triangle IIEasyGo
121Best Time to Buy and Sell StockEasyGo
122Best Time to Buy and Sell Stock IIEasyGo
125Valid PalindromeEasyGo
133Clone GraphMediumC++
136Single NumberEasyGo
137Single Number IIMediumGo
144Binary Tree Preorder TraversalMediumGo
145Binary Tree Postorder TraversalHardGo
146LRU CacheMediumGo
153Find Minimum in Rotated Sorted ArrayMediumGo
154Find Minimum in Rotated Sorted Array IIHardGo
160Intersection of Two Linked ListsEasyGo
162Find Peak ElementMediumGo
167Two Sum II - Input array is sortedEasyGo
169Majority ElementEasyGo
173Binary Search Tree IteratorMediumGo
187Repeated DNA SequencesMediumGo
189Rotate ArrayEasyGo
198House RobberEasyGo
199Binary Tree Right Side ViewMediumGo
200Number of IslandsMediumGo
202Happy NumberEasyGo
204Count PrimesEasyGo
205Isomorphic StringsEasyGo
206Reverse Linked ListEasyGo
215Kth Largest Element in an ArrayMediumGo
217Contains DuplicateEasyGo
219Contains Duplicate IIEasyGo
226Invert Binary TreeEasy,Go
230Kth Smallest Element in a BSTMediumGo
231Power of TwoEasyGo
232Implement Queue using StacksEasyGo
235Lowest Common Ancestor of a Binary Search TreeEasyGo
237Delete Node in a Linked ListEasyGo
242Valid AnagramEasyGo
257Binary Tree PathsEasyGo
263Ugly NumberEasyGo
268Missing NumberEasyGo
278First Bad VersionEasyJava
279Perfect SquaresMediumGo
283Move ZeroesEasyGo
287Find the Duplicate NumberMediumGo
303Range Sum Query - ImmutableEasyGo
322Coin ChangeMediumGo
326Power of ThreeEasyGo
328Odd Even Linked ListMediumGo
344Reverse StringEasyGo
345Reverse Vowels of a StringEasyGo
347Top K Frequent ElementsMediumGo
349Intersection of Two ArraysEasyGo
350Intersection of Two Arrays IIEasyGo
367Valid Perfect SquareEasyGo
374Guess Number Higher or LowerEasyJava
387First Unique Character in a StringEasyGo
389Find the DifferenceEasyGo
403Frog JumpHardGo
404Sum of Left LeavesEasyGo
409Longest PalindromeEasyGo
412Fizz BuzzEasyGo
416Partition Equal Subset SumMediumGo
419Battleships in a BoardMediumGo
448Find All Numbers Disappeared in an ArrayEasyGo
451Sort Characters By FrequencyMediumGo
461Hamming DistanceEasyGo
476Number ComplementEasyGo
482License Key FormattingEasyGo
520Detect CapitalEasyGo
538Convert BST to Greater TreeEasyGo
617Merge Two Binary TreesEasyGo
621Task SchedulerMediumGo
657Robot Return to OriginEasyGo
658Find K Closest ElementsMediumGo
680Valid Palindrome IIEasyGo
693Binary Number with Alternating BitsEasyGo
695Max Area of IslandMediumGo
733Flood FillEasyGo
745Find Smallest Letter Greater Than TargetEasyGo
768Partition LabelsMediumGo
782Jewels and StonesEasyGo
792Binary SearchEasyGo
822Unique Morse Code WordsEasyGo
837Most Common WordEasyGo
860Design Circular QueueMediumGo
861Flipping an ImageEasyGo
871Keys and RoomsMediumGo
874Backspace String CompareEasyGo
917Boats to Save PeopleMediumGo
926Find and Replace PatternMediumGo
932Monotonic ArrayEasyGo
940Fruit Into BasketsMediumGo
941Sort Array By ParityEasyGo
965Unique Email AddressesEasyGo
975Range Sum of BSTEasyGo
978Valid Mountain ArrayEasyGo
1013Fibonacci NumberEasyGo
1014K Closest Points to OriginMediumGo
1078Remove Outermost ParenthesesEasyGo
1207Delete Nodes And Return ForestMediumGo
1369Minimum Swaps to Make Strings EqualMediumGo

About

LeetCode solutions primarily written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp