-
Updated
May 16, 2020
algorithms
Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.
Here are 10,817 public repositories matching this topic...
-
Updated
May 20, 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
May 18, 2020
Contributing.md doesn't doesn't appear to contain any actual guidlines, and the link only leads back to the same document: Java/CONTRIBUTING.md.
-
Updated
May 16, 2020 - Swift
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
May 3, 2020
-
Updated
May 14, 2020
-
Updated
May 13, 2020 - Java
There are 2 places we are using BufferBlock<T>
today:
We should consider replacing this depende
-
Updated
May 12, 2020 - Python
-
Updated
May 18, 2020 - Java
-
Updated
Apr 21, 2020 - Python
-
Updated
May 19, 2020 - C#
-
Updated
May 20, 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的情況
Add quickselect algorithm. Quickselect is a selection algorithm to find the kth smallest element in an unordered list.
-
Updated
Jul 12, 2019 - Jupyter Notebook
-
Updated
Apr 13, 2020 - Python
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
Apr 18, 2020 - Java
-
Updated
Oct 26, 2019 - JavaScript
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
Mar 2, 2020
-
Updated
Apr 15, 2020 - Java
- 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