-
Updated
May 29, 2020 - Java
Demonstrate all the questions on LeetCode in the form of animation.(用动画的形式呈现解LeetCode题目的思路)
刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.

集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。
给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。
示例 1:
输入: nums = [1,2,2,4]
输出: [2,3]
注意:
给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch
项目永久冻结,迁移至新地址:
Interview = 简历指南 + LeetCode + Kaggle
Adding leading zero in the question number will be an awesome feature for file explorer to sort files by the name.
Java Solutions to problems on LintCode/LeetCode
180+ Algorithm & Data Structure Problems using C++
Given a blacklist B containing unique integers from [0, N), write a function to return a uniform random integer from [0, N) which is NOT in B.
Optimize it such that it minimizes the call to system’s Math.random().
Note:
1 <= N <= 10000000000 <= B.length < min(100000, N)[0, N) does NOT include N. See [interval notation](https://en.wikipedia.org/wiki/Interval_\Solutions to LeetCode by Swift
Add new sections by GitbookIO editor is quite simple, but sometimes you may forget to add sections in SUMMARY.md.
It is easy to parse the title of source .md files and add it to the appropriate chapter position. I will implement this feature with Python.
Leetcode solutions
Go Solution for LeetCode algorithms problems, 100% coverage.
Java solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.
Clean, Understandable Solutions and Resources for LeetCode Online Judge Algorithm Problems.
《大厂面试指北》——后端面试题精选,包括Java基础、JVM、数据库、mysql、redis、计算机网络、算法、数据结构、操作系统、设计模式、系统设计、框架原理(获取《大厂面试指北》PDF版本请关注我的公众号"大厂面试",技术交流可以扫主页的二维码进群,希望给我一个Star,谢谢!) 最佳阅读地址:http://notfound9.github.io/interviewGuide/
【NO LONGER UPDATE】
It'll be good to add an introduction into the readme for the basic information of the repo, such as where are the problems coming from, how do you pick problems into this repo, etc.
(Weekly Update) Python / C++11 Solutions of All 1500 LeetCode Problems
Solutions for various coding/algorithmic problems and many useful resources for learning algorithms and data structures
Add a description, image, and links to the leetcode topic page so that developers can more easily learn about it.
To associate your repository with the leetcode topic, visit your repo's landing page and select "manage topics."