-
Updated
Mar 30, 2020
algorithms
Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.
Here are 10,136 public repositories matching this topic...
-
Updated
Apr 4, 2020 - Java
- We have BFS and DFS images in both Breadth First Traversal and Depth First Traversal. We should have illustrations in the respective sections.
Hey Yangshun,
Thanks for the great list of guides!
I found the explanation for Snake game bit difficult to follow and I came across this interesting and better explanantion here https://www.youtube.com/watch?v=AaGK-fj-BAM
-
Updated
Apr 1, 2020 - Swift
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.
我将开始翻译如下文章(点击可查看目标文章):
我准备将它翻译成:英文
预计 7 天内翻译完成,若由于种种原因,规定时间已过但此 issue 还未提交 pull request,则此 issue 自动失效。如果你愿意,你可以新开一个 issu
Is there a reason why in travis CI config the command black --check . || true is run? I don't see the point in checking if files needs to be reformatted if it's just going to be ignored anyways.
Currently running black --line-length 127 --check . -> 399 files would be reformatted, 74 files would be left unchanged.
In additio
-
Updated
Mar 28, 2020
-
Updated
Mar 12, 2020 - Java
There are 2 places we are using BufferBlock<T> today:
We should consider replacing this depende
-
Updated
Mar 30, 2020 - Python
-
Updated
Mar 23, 2020 - Python
-
Updated
Feb 27, 2020 - Java
-
Updated
Oct 31, 2019 - C#
-
Updated
Mar 30, 2020 - JavaScript
add git 使用指南
首先,十分欢迎你来给 OI WIki 开 issue,在提交之前,请花时间阅读一下这个模板的内容,谢谢合作!
- 希望添加的是什么?
git 使用指南
- 英文叫什么?
git-guidebook
- 有什么参考资料?
https://git-scm.com/docs
https://git-scm.com/book/zh/v2
issue 标题请写为 'add ' + 要添加的内容
然后可以在 htc 里 link 一下。(我刚开始写 Wiki 的时候就不知道怎么做到“一个 pr 只干一件事”)
左/右位移沒有解釋UB的情況
From a comment I got on YouTube that needs investigation:
"If the graph has 3 nodes - 0, 1, 2 and the indegree and outdegree of all the nodes are 0. Then, there is an empty Eulerian path, but the code results in "0". Do you think findStartNode() can be enhanced to handle this edge case?"
Relevant Videos:
Euler path/circuit existence: https://youtu.be/xR4sGgwtR2I
Euler path/circuit algori
-
Updated
Oct 26, 2019 - Python
-
Updated
Jul 12, 2019 - Jupyter Notebook
I'd suggest a better differentiation between Best and Breadth First Search in the Graphs section.
Acronyms BFS and DFS are used all over the place, but "breadth" and "depth" aren't mentioned anywhere, making it hard for a newcomer to understand what is being referred to.
steps to reproduce
Write a loop, from 1 to 80000, each time add a random int to the max heap.
In theory it takes very little time(NlogN, N=80000, <1sec ), but the program does take a long time.
I'v also tested the BinaryHeap in https://github.com/SolutionsDesign/Algorithmia, it performs well, so it is probably due to the bad algorithm.
-
Updated
Jan 17, 2020 - Java
For a university school project I will be making some edits to your documentation which will aim to make writing more technical
Please add edits if you would like :)
-
Updated
Oct 26, 2019 - JavaScript
-
Updated
Mar 6, 2020 - Java
-
Updated
Mar 26, 2020 - JavaScript
.NET Core 2.2 reaches end of life December 23. Either upgrade the version to 3.1 LTS, which is what users should be already doing anyway, or target multiple versions of .NET Core so users who are still on 2.x are not broken.
- Wikipedia
- Wikipedia

https://github.com/trekhleb/javascript-algorithms/blob/master/src/algorithms/sets/cartesian-product/cartesianProduct.js#L8
I think it makes more sense to return an empty array