Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/digitalcrab/leetcode-problems-go
Problems from leetcode with solutions in Go
https://github.com/digitalcrab/leetcode-problems-go
go golang leetcode leetcode-golang leetcode-solutions
Last synced: 22 days ago
JSON representation
Problems from leetcode with solutions in Go
- Host: GitHub
- URL: https://github.com/digitalcrab/leetcode-problems-go
- Owner: digitalcrab
- Created: 2018-10-30T20:04:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T19:03:03.000Z (about 2 months ago)
- Last Synced: 2024-09-19T10:42:23.537Z (about 2 months ago)
- Topics: go, golang, leetcode, leetcode-golang, leetcode-solutions
- Language: Go
- Size: 94.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leetcode solutions in Go
### Problems
- [x] [26. Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/)
- [x] [27. Remove Element](https://leetcode.com/problems/remove-element/)
- [x] [80. Remove Duplicates from Sorted Array II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/)
- [x] [88. Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array/)
- [x] [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)
- [x] [122. Best Time to Buy and Sell Stock II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/)
- [x] [169. Majority Element](https://leetcode.com/problems/majority-element/)
- [x] [189. Rotate Array](https://leetcode.com/problems/rotate-array/)
- [ ] [Maximum Subarray](https://leetcode.com/problems/maximum-subarray/)
- [x] [Backspace String Compare](https://leetcode.com/problems/backspace-string-compare/)
- [x] [Can Place Flowers](https://leetcode.com/problems/can-place-flowers/)
- [x] [Contiguous Array](https://leetcode.com/problems/contiguous-array/)
- [x] [Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree/)
- [x] [Flood Fill](https://leetcode.com/problems/flood-fill/)
- [x] [Group Anagrams](https://leetcode.com/problems/group-anagrams/)
- [x] [Happy Number](https://leetcode.com/problems/happy-number/)
- [x] [Increasing Order Search Tree](https://leetcode.com/problems/increasing-order-search-tree/)
- [x] [LRU Cache](https://leetcode.com/problems/lru-cache/)
- [x] [Last Stone Weight](https://leetcode.com/problems/last-stone-weight/)
- [x] [Linked List Random Node](https://leetcode.com/problems/linked-list-random-node/)
- [x] [Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring/)
- [x] [Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/)
- [x] [Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/)
- [x] [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/)
- [x] [Min Stack](https://leetcode.com/problems/min-stack/)
- [x] [Most Common Word](https://leetcode.com/problems/most-common-word/)
- [x] [Move Zeroes](https://leetcode.com/problems/move-zeroes/)
- [x] [Number of Islands](https://leetcode.com/problems/number-of-islands/)
- [x] [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/)
- [x] [Reorder Data in Log Files](https://leetcode.com/problems/reorder-data-in-log-files)
- [x] [Reverse Integer](https://leetcode.com/problems/reverse-integer/)
- [x] [Rotting Oranges](https://leetcode.com/problems/rotting-oranges)
- [x] [Shortest Word Distance](https://leetcode.com/problems/shortest-word-distance/)
- [x] [Single Number](https://leetcode.com/problems/single-number/)
- [x] [Subtree of Another Tree](https://leetcode.com/problems/subtree-of-another-tree)
- [x] [The kth Factor of n](https://leetcode.com/problems/the-kth-factor-of-n/)
- [x] [Two Sum Less Than K](https://leetcode.com/problems/two-sum-less-than-k/)
- [x] [Two Sum](https://leetcode.com/problems/two-sum/)
- [x] [Valid Parentheses](https://leetcode.com/problems/valid-parentheses/)
- [x] [Valid Parenthesis String](https://leetcode.com/problems/valid-parenthesis-string/)### Data structures
- [x] Graph Breadth-first search
- [x] Graph Depth-first search
- [x] Max Heap
- [x] Min Heap
- [x] Stack
- [x] Tree
- [x] Trie### Algorithms
- [x] Merge sort
- [x] Quick sort