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

https://github.com/robotljw/leetcode-golang

leetcode个人刷题记录
https://github.com/robotljw/leetcode-golang

leetcode-golang

Last synced: 3 months ago
JSON representation

leetcode个人刷题记录

Awesome Lists containing this project

README

        

# leetcode-golang

leetcode个人刷题记录

[19.删除链表的倒数第N个节点](19-remove-nth-node-from-end-of-list/remove_nth_node_from_end_of_list.go)

[24.两两交换链表中的节点](24-swap-nodes-in-pairs/swap_nodes_in_pairs.go)

[26.删除排序数组中的重复项](26-remove-duplicates-from-sorted-array/remove-duplicates-from-sorted-array.go)

[33.搜索旋转排序数组](33-search-in-rotated-sorted-array/search-in-rotated-sorted-array.go)

[34.在排序数组中查找元素的第一个和最后一个位置](34-find-first-and-last-position-of-element-in-sorted-array/find-first-and-last-position-of-element-in-sorted-array.go)

[54.螺旋矩阵](54-spiral-matrix/spiral-matrix.go)

[55.跳跃游戏](55-jump-game/jump_game.go)

[57.插入区间](57-insert-interval/insert_interval.go)

[70.爬楼梯](70-climbing-stairs/climbing-stairs.go)

[75.颜色分类](75-sort-colors/sort_colors.go)

[116.填充每个节点的下一个右侧节点指针](116-populating-next-right-pointers-in-each-node/populating_next_right_pointers_in_each_node.go)

[121.买卖股票的最佳时机](121-best-time-to-buy-and-sell-stock/best_time_to_buy_and_sell_stock.go)

[122.买卖股票的最佳时机 II](122-best-time-to-buy-and-sell-stock-ii/best_time_to_buy_and_sell_stock_ii.go)

[129.求根到叶子节点数字之和](129-sum-root-to-leaf-numbers/sum_root_to_leaf_numbers.go)

[141.环形链表](141-linked-list-cycle/linked_list_cycle.go)

[143.重排链表](143-reorder-list/reorder_list.go)

[144.二叉树的前序遍历](144-binary-tree-preorder-traversal/binary_tree_preorder_traversal.go)

[206.反转链表](206-reverse-linked-list/reverse-linked-list.go)

[225.用队列实现栈](225-implement-stack-using-queues/implement-stack-using-queues.go)

[234.回文链表](234-palindrome-linked-list/palindrome_linked_list.go)

[235.二叉搜索树的最近公共祖先](235-lowest-common-ancestor-of-a-binary-search-tree/lowest-common-ancestor-of-a-binary-search-tree.go)

[268.丢失的数字](268-missing-number/missing-number.go)

[283.移动零](283-move-zeroes/move-zeroes.go)

[299.猜数字游戏](299-bulls-and-cows/bulls-and-cows.go)

[344.反转字符串](344-reverse-string/reverse_string.go)

[349.两个数组的交集](349-intersection-of-two-arrays/intersection_of_two_arrays.go)

[367.有效的完全平方数](367-valid-perfect-square/valid-perfect-square.go)

[381.O(1) 时间插入、删除和获取随机元素 - 允许重复](381-insert-delete-getrandom-o1-duplicates-allowed/insert_delete_getrandom_o1_duplicates_allowed.go)

[397.整数替换](397.integer-replacement/integer-replacement.go)

[423.从英文中重建数字](423-reconstruct-original-digits-from-english/reconstruct-original-digits-from-english.go)

[434.字符串中的单词数](434-number-of-segments-in-a-string/number-of-segments-in-a-string.go)

[438.找到字符串中所有字母异位词](438-find-all-anagrams-in-a-string/find-all-anagrams-in-a-string.go)

[463.岛屿的周长](463-island-perimeter/island_perimeter.go)

[482.密钥格式化](482-license-key-formatting/license-key-formatting.go)

[495.提莫攻击](495-teemo-attacking/teemo-attacking.go)

[520.检测大写字母](520-detect-capital/detect-capital.go)

[530.二叉搜索树的最小绝对差](530-minimum-absolute-difference-in-bst/minimum_absolute_difference_in_bst.go)

[559.N 叉树的最大深度](559-maximum-depth-of-n-ary-tree/maximum-depth-of-n-ary-tree.go)

[563. 二叉树的坡度](563.binary-tree-tilt/binary-tree-tilt.go)

[575.分糖果](575-distribute-candies/distribute-candies.go)

[594.最长和谐子序列](594-longest-harmonious-subsequence/longest-harmonious-subsequence.go)

[598.范围求和 II](598-range-addition-ii/range-addition-ii.go)

[677.键值映射](677-map-sum-pairs/map-sum-pairs.go)

[674.最长连续递增序列](674-longest-continuous-increasing-subsequence/longest-continuous-increasing-subsequence.go)

[844.比较含退格的字符串](844-backspace-string-compare/backspace_string_compare.go)

[859.亲密字符串](859-buddy-strings/buddy-strings.go)

[925.长按键入](925-long-pressed-name/long_pressed_name.go)

[941.有效的山脉数组](941-valid-mountain-array/valid_mountain_array.go)

[973.最接近原点的 K 个点](973-k-closest-points-to-origin/k_closest_points_to_origin.go)

[977.有序数组的平方](977-squares-of-a-sorted-array/squares_of_a_sorted_array.go)

[1002.查找常用字符](1002-find-common-characters/find_common_characters.go)

[1207.独一无二的出现次数](1207-unique-number-of-occurrences/unique_number_of_occurrences.go)

[1218.最长定差子序列](1218-longest-arithmetic-subsequence-of-given-difference/longest-arithmetic-subsequence-of-given-difference.go)
[1356.根据数字二进制下 1 的数目排序](1356-sort-integers-by-the-number-of-1-bits/sort_integers_by_the_number_of_1_bits.go)

[1365.有多少小于当前数字的数字](1365-how-many-numbers-are-smaller-than-the-current-number/how-many-numbers-are-smaller-than-the-current-number.go)

[offer09.用两个栈实现队列](offer-09-yong-liang-ge-zhan-shi-xian-dui-lie-lcof/yong-liang-ge-zhan-shi-xian-dui-lie-lcof.go)

[offer30.包含min函数的栈](offer-30-bao-han-minhan-shu-de-zhan-lcof/bao-han-minhan-shu-de-zhan-lcof.go)

[offer32-I.从上到下打印二叉树](offer-32-cong-shang-dao-xia-da-yin-er-cha-shu-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-lcof.go)

[offer32-II.从上到下打印二叉树II](offer-32-II-cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof.go)

[offer32-III.从上到下打印二叉树III](offer-32-III-cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof.go)