Git Product home page Git Product logo

java-leetcode's Introduction

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.