computer-science
Here are 1,837 public repositories matching this topic...
From react docs
Note:
We recommend using React Testing Library which is designed to enable and encourage writing tests that use your components as the end users do.
Alternatively, Airbnb has released a testing utility called Enzyme, which makes it easy to assert, manipulate, and traverse your React Components’ output.
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
A minor shortcoming of the structure of the OSSU CS crepository is that we are basically using one big page for the entire curriculum, and all secondary resources have to go in extras. This means that valuable secondary materials are kept separate from the primary resources that we recommend unless we add a footnote. It also discourages us from adding more narrative to the curriculum to explain wh
A collection of (mostly) technical things every software developer should know
-
Updated
Dec 8, 2019
Papers from the computer science community to read and discuss.
-
Updated
Dec 8, 2019
:books: List of awesome university courses for learning Computer Science!
-
Updated
Dec 8, 2019
An ultra-simplified explanation to design patterns
-
Updated
Dec 8, 2019
给定两个由小写字母构成的字符串 A 和 B ,只要我们可以通过交换 A 中的两个字母得到与 B 相等的结果,就返回 true ;否则返回 false 。
示例 1:
输入: A = "ab", B = "ba"
输出: true
示例 2:
输入: A = "ab", B = "ab"
输出: false
示例 3:
输入: A = "aa", B = "aa"
输出: true
示例 4:
输入: A = "aaaaaaabc", B = "aaaaaaacb"
输出: true
示例 5:
输入: A = "", B = "aa"
输出: false
提示:
0 <= A.length <= 20000
0 <= B.length <= 20000
A 和 B 仅由小写字母构成。
来源:力扣(L
The Patterns of Scalable, Reliable, and Performant Large-Scale Systems
-
Updated
Dec 8, 2019
List of Computer Science courses with video lectures.
-
Updated
Dec 8, 2019
A collection of full-stack resources for programmers.
-
Updated
Dec 8, 2019 - Shell
清华大学计算机系课程攻略 Guidance for courses in Department of Computer Science and Technology, Tsinghua University
-
Updated
Dec 8, 2019 - HTML
📖 Design Patterns implemented in Swift 5.0
-
Updated
Dec 7, 2019 - Swift
🚀 fullstack tutorial 2019,后台技术栈/架构师之路/全栈开发社区,春招/秋招/校招/面试
-
Updated
Dec 8, 2019 - Java
Currently all the books are loaded when the homepage is loaded. Instead of this implement an infinite scroll that loads more books only when the user scrolls to the bottom of page.
See https://github.com/hackerkid/Mind-Expanding-Books/tree/master/app to setup development environment
🐼 Chinese translations for classic IT resources
-
Updated
Dec 7, 2019
Data Structures and Algorithms explained and implemented in JavaScript
-
Updated
Dec 8, 2019 - JavaScript
:computer: 计算机速成课 | Crash Course 字幕组 (全40集 2018-5-1 精校完成)
-
Updated
Dec 8, 2019 - JavaScript
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.
Splice in the for loop shifts the elements in the array and skips the sibling of the node that was removed.
Fix PR:
You can test with:
const tree = new Tree();
tree.add('ceo');
tree.add('cto1', 'ceo');
tree.add('cto2', 'ceo');
tree.add('cto3', 'ceo');
tree
🌊 Pretty, common and useful algorithms with modern JS and beautiful tests
-
Updated
Dec 4, 2019 - TypeScript
Most influential books on Computer Science/programming
-
Updated
Dec 7, 2019
detailed notes on computer science topics, in one page
-
Updated
Dec 5, 2019
💎 The Principles of OOD (SOLID) based on Uncle Bob articles.
-
Updated
Dec 6, 2019 - Swift
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."
The cards don't have new lines in the code and it makes it very hard to read them. Any ideas on how a new line can be added.