-
Updated
Jul 8, 2020
interview
Here are 1,625 public repositories matching this topic...
-
Updated
Jul 9, 2020 - Java
-
Updated
Jul 8, 2020 - Java
-
Updated
Jul 9, 2020 - Python
I think it makes more sense to return an empty array
// invalid input return null or throw an error
if (!setA || !setB) {
return null;
}
if (!setA.length || !setB.length) {
return [];
}
// or do nothing since the for loop will not trigger anyway
- We have BFS and DFS images in both Breadth First Traversal and Depth First Traversal. We should have illustrations in the respective sections.
集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。
给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。
示例 1:
输入: nums = [1,2,2,4]
输出: [2,3]
注意:
给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch
Contributing.md is dead.
I wanna contribute to this project.
If you are ok, I would like to update the Contributing.md with reference to your project "python".
If not, I want you to fix it.
-
Updated
Jul 6, 2020
https://mybinder.org/ Should I make a binder ? :) Or if there is a binder link, it's well hidden.
-
Updated
May 3, 2020
-
Updated
Jul 6, 2020 - JavaScript
-
Updated
Apr 19, 2020 - C++
-
Updated
Jul 9, 2020 - JavaScript
-
Updated
Jul 5, 2020
-
Updated
Jul 17, 2019 - Python
-
Updated
Dec 1, 2019
-
Updated
May 29, 2020 - Java
-
Updated
Jul 7, 2020 - JavaScript
-
Updated
May 20, 2020 - JavaScript

-
Updated
Nov 29, 2019 - PHP
-
Updated
Jan 22, 2020
-
Updated
May 25, 2020 - Jupyter Notebook
🚀 Feature Proposal
Adding leading zero in the question number will be an awesome feature for file explorer to sort files by the name.
## Python/Regex fix
This is a reminder for me or a task if anyone wants :P
Basically, The last two questions aren't really regex's questions.
To do:
- Move said questions to correct place.
- Add new regex questions (Python related!)?
- Maybe add a new ## Regex section, as it is a valuable skill
-
Updated
Jun 30, 2020 - JavaScript
Improve this page
Add a description, image, and links to the interview topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the interview topic, visit your repo's landing page and select "manage topics."
In the solution for the pastebin/bitly system design, the write to cache flow is missing in the second diagram which refers to the scaling aspect. The cache has only a read arrow but not a write arrow. The diagram will be more intuitive if a write-through/write-back cache mechanism was indicated.