-
Updated
Jul 10, 2020
computer-science
Here are 2,162 public repositories matching this topic...
-
Updated
Jul 9, 2020 - Java
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
-
Updated
Jun 27, 2020
-
Updated
Jul 7, 2020
What about History?
Histories make men wise.
What about Network ?
-
Updated
Jul 7, 2020 - Shell
集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。
给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。
示例 1:
输入: nums = [1,2,2,4]
输出: [2,3]
注意:
给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch
The link for the course above is dead and should be replaced by https://cs.brown.edu/courses/cs123/index.shtml. I'll create a pull request to address this issue as well.
-
Updated
Sep 27, 2019
-
Updated
Jul 10, 2020
-
Updated
Jul 5, 2020
-
Updated
Jul 1, 2020 - HTML
-
Updated
Jul 6, 2020 - Shell
-
Updated
May 18, 2020 - Swift
-
Updated
May 29, 2020 - Java
-
Updated
Jul 2, 2020 - JavaScript
Users should be able to sort books on basis of rating, year published, title etc.
See https://github.com/hackerkid/Mind-Expanding-Books/tree/master/app to setup development environment
-
Updated
Apr 13, 2020
-
Updated
Jul 10, 2020 - JavaScript
-
Updated
Jul 6, 2020
Some possible suggestions are - sites which teach algorithms, sites which interactively visualize different algorithms. Also, notebooks/question pages of ACM themed contests can be added.
-
Updated
Jun 7, 2020
-
Updated
Aug 17, 2019 - Ruby
-
Updated
Aug 18, 2018 - JavaScript
-
Updated
Mar 18, 2020
-
Updated
Aug 26, 2017 - TypeScript
-
Updated
Jul 7, 2020 - Jupyter Notebook
Improve this page
Add a description, image, and links to the computer-science topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the computer-science topic, visit your repo's landing page and select "manage topics."
What roadmap is this issue about?
What is this issue about?