当前位置 博文首页 > 龚厂长的博客:leetcode通过题目汇总
本文爬取leetcode网页,然后通过程序自动生成(git地址以后完善)。
题目 | 题目地址 | 题目难度 | git地址 |
---|---|---|---|
78 子集 | https://leetcode-cn.com/problems/subsets/ | 中等 | |
6 Z 字形变换 | https://leetcode-cn.com/problems/zigzag-conversion/ | 中等 | |
61 旋转链表 | https://leetcode-cn.com/problems/rotate-list/ | 中等 | |
18 四数之和 | https://leetcode-cn.com/problems/4sum/ | 中等 | |
16 最接近的三数之和 | https://leetcode-cn.com/problems/3sum-closest/ | 中等 | |
56 合并区间 | https://leetcode-cn.com/problems/merge-intervals/ | 中等 | |
55 跳跃游戏 | https://leetcode-cn.com/problems/jump-game/ | 中等 | |
54 螺旋矩阵 | https://leetcode-cn.com/problems/spiral-matrix/ | 中等 | |
49 字母异位词分组 | https://leetcode-cn.com/problems/group-anagrams/ | 中等 | |
45 跳跃游戏 II | https://leetcode-cn.com/problems/jump-game-ii/ | 中等 | |
38 外观数列 | https://leetcode-cn.com/problems/count-and-say/ | 中等 | |
36 有效的数独 | https://leetcode-cn.com/problems/valid-sudoku/ | 中等 | |
34 在排序数组中查找元素的第一个和最后一个位置 | https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array/ | 中等 | |
33 搜索旋转排序数组 | https://leetcode-cn.com/problems/search-in-rotated-sorted-array/ | 中等 | |
1116 打印零与奇偶数 | https://leetcode-cn.com/problems/print-zero-even-odd/ | 中等 | |
1115 交替打印FooBar | https://leetcode-cn.com/problems/print-foobar-alternately/ | 中等 | |
1114 按序打印 | https://leetcode-cn.com/problems/print-in-order/ | 简单 | |
114 二叉树展开为链表 | https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/ | 中等 | |
120 三角形最小路径和 | https://leetcode-cn.com/problems/triangle/ | 中等 | |
47 全排列 II | https://leetcode-cn.com/problems/permutations-ii/ | 中等 | |
46 全排列 | https://leetcode-cn.com/problems/permutations/ | 中等 | |
31 下一个排列 | https://leetcode-cn.com/problems/next-permutation/ | 中等 | |
15 三数之和 | https://leetcode-cn.com/problems/3sum/ | 中等 | |
12 整数转罗马数字 | https://leetcode-cn.com/problems/integer-to-roman/ | 中等 | |
179 最大数 | https://leetcode-cn.com/problems/largest-number/ | 中等 | |
102 二叉树的层序遍历 | https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ | 中等 | |
43 字符串相乘 | https://leetcode-cn.com/problems/multiply-strings/ | 中等 | |
24 两两交换链表中的节点 | https://leetcode-cn.com/problems/swap-nodes-in-pairs/ | 中等 | |
面试题 17.10 主要元素 | https://leetcode-cn.com/problems/find-majority-element-lcci/ | 简单 | |
525 连续数组 | https://leetcode-cn.com/problems/contiguous-array/ | 中等 | |
145 二叉树的后序遍历 | https://leetcode-cn.com/problems/binary-tree-postorder-traversal/ | 简单 | |
94 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 简单 | |
144 二叉树的前序遍历 | https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ | 简单 | |
134 加油站 | https://leetcode-cn.com/problems/gas-station/ | 中等 | |
22 括号生成 | https://leetcode-cn.com/problems/generate-parentheses/ | 中等 | |
40 组合总和 II | https://leetcode-cn.com/problems/combination-sum-ii/ | 中等 | |
39 组合总和 | https://leetcode-cn.com/problems/combination-sum/ | 中等 | |
17 电话号码的字母组合 | https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/ | 中等 | |
19 删除链表的倒数第 N 个结点 | https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/ | 中等 | |
29 两数相除 | https://leetcode-cn.com/problems/divide-two-integers/ | 中等 | |
8 字符串转换整数 (atoi) | https://leetcode-cn.com/problems/string-to-integer-atoi/ | 中等 | |
5 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 中等 | |
11 盛最多水的容器 | https://leetcode-cn.com/problems/container-with-most-water/ | 中等 | |
2 两数相加 | https://leetcode-cn.com/problems/add-two-numbers/ | 中等 | |
3 无重复字符的最长子串 | https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ | 中等 | |
32 最长有效括号 | https://leetcode-cn.com/problems/longest-valid-parentheses/ | 困难 | |
678 有效的括号字符串 | https://leetcode-cn.com/problems/valid-parenthesis-string/ | 中等 | |
7 整数反转 | https://leetcode-cn.com/problems/reverse-integer/ | 简单 |