Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clearxs/go-algorithms-and-data-structures
go implementation algorithms and data-structurs
https://github.com/clearxs/go-algorithms-and-data-structures
algorithms data-structures go leetcode
Last synced: about 2 months ago
JSON representation
go implementation algorithms and data-structurs
- Host: GitHub
- URL: https://github.com/clearxs/go-algorithms-and-data-structures
- Owner: ClearXs
- License: mit
- Created: 2024-03-14T16:09:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-27T03:14:18.000Z (10 months ago)
- Last Synced: 2024-03-27T05:22:46.691Z (10 months ago)
- Topics: algorithms, data-structures, go, leetcode
- Language: Go
- Homepage:
- Size: 1.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Summary
This Project include familiar data-structure, such as linked-list binary-tree... ,and myself leetcode question answer,
and something sort algorithms### data-structures
#### list
- array-list
#### stack
- simple stack
#### queue
- simple queue
- priority queue
- an circular buffer queue (plan)#### heap
- an binary maximum/minimum heap
#### graph
- graph
- digraph
- disjoint#### tree
- binary-tree
### sort-algorithms
- bubble-sort
- insertion-sort
- merge-sort
- quick-sort
- selection-sort### leetcode
solution following questions:
1. [1. Two Sum](https://leetcode.com/problems/two-sum/description/)
2. [3. Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/description/)
3. [15. 3Sum](https://leetcode.com/problems/3sum/description/)
4. [17. Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/)
5. [19. Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/)
6. [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/description/)
7. [21. Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/)
8. [26. Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array)
9. [27. Remove Element](https://leetcode.com/problems/remove-element)
10. [62. Unique Paths](https://leetcode.com/problems/unique-paths)
11. [45. Jump Game II](https://leetcode.com/problems/jump-game-ii)
12. [46. Permutations](https://leetcode.com/problems/permutations)
13. [47. Permutations II](https://leetcode.com/problems/permutations-ii)
14. [53. Maximum Subarray](https://leetcode.com/problems/maximum-subarray)
15. [55. Jump Game](https://leetcode.com/problems/jump-game)
16. [70. Climbing Stairs](https://leetcode.com/problems/climbing-stairs)
17. [77. Combinations](https://leetcode.com/problems/combinations)
18. [83. Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list)
19. [86. Partition List](https://leetcode.com/problems/partition-list)
20. [101. Symmetric Tree](https://leetcode.com/problems/symmetric-tree)
21. [104. Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree)
22. [111. Minimum Depth of Binary Tree](https://leetcode.com/problems/minimum-depth-of-binary-tree)
23. [127. Word Ladder](https://leetcode.com/problems/word-ladder)
24. [131. Palindrome Partitioning](https://leetcode.com/problems/palindrome-partitioning)
25. [134. Gas Station](https://leetcode.com/problems/gas-station)
26. [141. Linked List Cycle](https://leetcode.com/problems/linked-list-cycle)
27. [150. Evaluate Reverse Polish Notation](https://leetcode.com/problems/evaluate-reverse-polish-notation)
28. [167. Two Sum II - Input Array Is Sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted)
29. [200. Number of Islands](https://leetcode.com/problems/number-of-islands)
30. [202. Happy Number](https://leetcode.com/problems/happy-number)
31. [203. Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements)
32. [209. Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum)
33. [239. Sliding Window Maximum](https://leetcode.com/problems/sliding-window-maximum)
34. [347. Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements)
35. [376. Wiggle Subsequence](https://leetcode.com/problems/wiggle-subsequence)
36. [383. Ransom Note](https://leetcode.com/problems/ransom-note/)
37. [455. Assign Cookies](https://leetcode.com/problems/assign-cookies/description/)
38. [463. Island Perimeter](https://leetcode.com/problems/island-perimeter/description/)
39. [509. Fibonacci Number](https://leetcode.com/problems/fibonacci-number)
40. [654. Maximum Binary Tree](https://leetcode.com/problems/maximum-binary-tree/description/)
41. [684. Redundant Connection](https://leetcode.com/problems/redundant-connection/description/)
42. [695. Max Area of Island](https://leetcode.com/problems/max-area-of-island/description/)
43. [704. Binary Search](https://leetcode.com/problems/binary-search/description/)
44. [746. Min Cost Climbing Stairs](https://leetcode.com/problems/min-cost-climbing-stairs)
45. [797. All Paths From Source to Target](https://leetcode.com/problems/all-paths-from-source-to-target/description/)
46. [860. Lemonade Change](https://leetcode.com/problems/lemonade-change/description/)
47. [876. Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/description/)
48. [1047. Remove All Adjacent Duplicates In String](https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/description/)
49. [1971. Find if Path Exists in Graph](https://leetcode.com/problems/find-if-path-exists-in-graph/description/)