/java-leetcode

LeetCode 刷题笔记 Java语言

Primary LanguageJavaMIT LicenseMIT

java-leetcode

The solution for leetcode by java programing language.

LeetCode

Easy

ID Solution Original Url
1 1. 两数之和 https://leetcode.cn/problems/two-sum/
2 83. 删除排序链表中的重复元素 https://leetcode.cn/problems/remove-duplicates-from-sorted-list/
3 94. 二叉树的中序遍历 https://leetcode.cn/problems/binary-tree-inorder-traversal/
4 100. 相同的树 https://leetcode.cn/problems/same-tree/
5 160. 相交链表 https://leetcode.cn/problems/intersection-of-two-linked-lists/
6 303. 区域和检索 - 数组不可变 https://leetcode.cn/problems/range-sum-query-immutable/
7 21. 合并两个有序链表 https://leetcode.cn/problems/merge-two-sorted-lists/

Medium

ID Solution Original Url
1 2. 两数相加 https://leetcode.cn/problems/add-two-numbers/
2 3. 无重复字符的最长子串 https://leetcode.cn/problems/longest-substring-without-repeating-characters/
3 15. 三数之和 https://leetcode.cn/problems/3sum/
4 105. 从前序与中序遍历序列构造二叉树 https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
5 173. 二叉搜索树迭代器 https://leetcode.cn/problems/binary-search-tree-iterator/
6 621. 任务调度器 https://leetcode.cn/problems/task-scheduler/
7 1239. 串联字符串的最大长度 https://leetcode.cn/problems/maximum-length-of-a-concatenated-string-with-unique-characters/

Hard

ID Solution Original Url
1 4. 寻找两个正序数组的中位数 https://leetcode.cn/problems/median-of-two-sorted-arrays/
2 212. 单词搜索 II https://leetcode.cn/problems/word-search-ii/

JianZhi Offer

ID Solution Original Url
1 剑指 Offer 38. 字符串的排列 https://leetcode.cn/problems/zi-fu-chuan-de-pai-lie-lcof/
2 剑指 Offer 56 - I. 数组中数字出现的次数 https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/
3 剑指 Offer II 001. 整数除法 https://leetcode.cn/problems/xoh6Oh/