Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wanghaoxi3000/leetcode

LeetCode 解题记录
https://github.com/wanghaoxi3000/leetcode

leetcode leetcode-golang

Last synced: 23 days ago
JSON representation

LeetCode 解题记录

Awesome Lists containing this project

README

        

# LeetCode
LeetCode 解题记录

## Go
使用 Go 语言的解题记录

- longestCommonPrefix 最长公共前缀
- checkInclusion 字符串的排列
- multiply 字符串相乘
- reverseWords 翻转字符串里的单词
- simplifyPath 简化路径
- restoreIPAddresses 复原IP地址
- threeSum 三数之和
- search 搜索旋转排序数组

- 1.[Two sum 两数之和](./Go/1_twoSum.go)
- 3.[Longest Substring Without Repeating Characters 无重复字符的最长子串](./Go/3_lengthOfLongestSubstring.go)
- 9.[Palindrome Number 回文数](./Go/9_isPalindrome.go)
- 75.[sortColors 颜色分类](./Go/75_sortColors.go)
- 209.[Minimum Size Subarray Sum 长度最小的子数组](./Go/209_minSubArrayLen.go)
- 219.[Contains Duplicate II 存在重复元素 II](./Go/219_containsNearbyDuplicateII.go)
- 167.[Two Sum II - Input array is sorted 两数之和 II - 输入有序数组](./Go/167_twoSum2.go)
- 268.[missingNumber 缺失数字](./Go/268_missingNumber.go)
- 344.[Reverse String 反转字符串](./Go/344_reverseString.go)
- 349.[Intersection of Two Arrays 两个数组的交集](./Go/349_intersection.go)
- 454.[4Sum II 四数相加 II](./Go/454_4SumII.go)
- 447.[Number of Boomerangs 回旋镖的数量](./Go/447_numberOfBoomerangs.go)
- 695.[Max Area of Island 岛屿的最大面积](./Go/695_maxAreaOfIsland.go)
- 674.[Longest Continuous Increasing Subsequence 最长连续递增序列](./Go/674_findLengthOfLCIS.go)

## string 字符串
- 20.[Valid Parentheses 有效的括号](string/20_valid_parentheses.go)
- 150.[Evaluate Reverse Polish Notation 逆波兰表达式求值](string/150_eval_RPN.go)

## linklist 链表
- 19.[Remove Nth Node From End of List 删除链表的倒数第N个节点](linklist/19_remove_nth_from_end_test.go)
- 24.[Swap Nodes in Pairs 两两交换链表中的节点](./linklist/24_swap_pairs.go)
- 86.[Partition List 分隔链表](linklist/86_partition_list.go)
- 92.[Reverse Linked List II 反转链表 II](linklist/92_reverse_between.go)
- 203.[Remove Linked List Elements 移除链表元素](./linklist/203_remove_elements.go)
- 206.[Reverse Linked List 反转链表](linklist/206_reverse_linked_list.go)
- 237.[Delete Node in a Linked List 删除链表中的节点](linklist/237_delete_node_in_a_inked_list.go)
- 328.[Odd Even Linked List 奇偶链表](linklist/328_odd_even_linked_list.go)

## tree 树
- 94.[Binary Tree Inorder Traversal 二叉树的中序遍历](tree/inorder_traversal.go)
- 102.[Binary Tree Level Order Traversal 二叉树的层次遍历](tree/levelorder_traversal.go)
- 144.[Binary Tree Preorder Traversal 二叉树的前序遍历](tree/preorder_traversal.go)