-
Updated
Feb 22, 2020
computer-science
Here are 1,936 public repositories matching this topic...
-
Updated
Feb 22, 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
Problem:
OSSU:CS requires far more math than our curricular guidelines suggest.
Duration:
Feb 29, 2020
Proposer:
Waciuma Wanjohi
Background:
OSSU refers to two curricular guidelines. These guidelines are created by professional and non-governmental organizations: ABET, ACM and IEEE. More information about these can be found here: https://github.com/ossu/computer-scienc
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020
假如有一排房子,共 n 个,每个房子可以被粉刷成红色、蓝色或者绿色这三种颜色中的一种,你需要粉刷所有的房子并且使其相邻的两个房子颜色不能相同。
当然,因为市场上不同颜色油漆的价格不同,所以房子粉刷成不同颜色的花费成本也是不同的。每个房子粉刷成不同颜色的花费是以一个 n x 3 的矩阵来表示的。
例如,costs[0][0] 表示第 0 号房子粉刷成红色的成本花费;costs[1][2] 表示第 1 号房子粉刷成绿色的花费,以此类推。请你计算出粉刷完所有房子最少的花费成本。
注意:
所有花费均为正整数。
示例:
输入: [[17,2,17],[16,16,5],[14,3,19]]
输出: 10
解释: 将 0 号房子粉刷成蓝色,1 号房子粉刷成绿色,2 号房子粉刷成蓝色。
最少花费: 2 + 5 + 3 = 10。
题目地址: ht
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020 - Shell
-
Updated
Feb 22, 2020 - HTML
-
Updated
Feb 22, 2020 - Swift
-
Updated
Feb 22, 2020 - Java
-
Updated
Feb 22, 2020 - JavaScript
Currently there is now way to filter books according to category. We should build a menubar/navbar that shows all categories and allows users to filter books accoridng to category.
See https://github.com/hackerkid/Mind-Expanding-Books/tree/master/app for details on setting up the development environment.
-
Updated
Feb 21, 2020
-
Updated
Feb 22, 2020 - JavaScript
New popular data sets, techniques, research paper links are some of the suggested ways you can contribute.
-
Updated
Feb 19, 2020 - Ruby
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
-
Updated
Feb 21, 2020 - TypeScript
-
Updated
Feb 22, 2020
-
Updated
Feb 21, 2020
-
Updated
Feb 22, 2020
-
Updated
Feb 22, 2020 - Swift
-
Updated
Feb 21, 2020 - Python
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?