A complete computer science study plan to become a software engineer.
-
Updated
Jul 5, 2020
A complete computer science study plan to become a software engineer.
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
刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.
Histories make men wise.
Papers from the computer science community to read and discuss.
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.
集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。
给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。
示例 1:
输入: nums = [1,2,2,4]
输出: [2,3]
注意:
给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch
An ultra-simplified explanation to design patterns
The Patterns of Scalable, Reliable, and Performant Large-Scale Systems
List of Computer Science courses with video lectures.
清华大学计算机系课程攻略 Guidance for courses in Department of Computer Science and Technology, Tsinghua University
A collection of full-stack resources for programmers.
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
Programming curricula
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.
计算机基础(计算机网络/操作系统/数据库/Git...)面试问题全面总结,包含详细的follow-up question以及答案;全部采用【问题+追问+答案】的形式,即拿即用,直击互联网大厂面试
algorithms playground for common questions
Computer science reimplemented in JavaScript
Free tech resources for faculty, students, researchers, life-long learners, and academic community builders for use in tech based courses, workshops, and hackathons.
detailed notes on computer science topics, in one page
Add a description, image, and links to the computer-science topic page so that developers can more easily learn about it.
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?