-
Updated
Jun 1, 2020
algorithms
Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.
Here are 11,090 public repositories matching this topic...
-
Updated
Jun 8, 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.
-
Updated
Jun 8, 2020
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
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 31, 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 28, 2020
-
Updated
May 13, 2020 - Java
There are 2 places we are using BufferBlock<T>
today:
We should consider replacing this depende
-
Updated
Jun 6, 2020 - Python
-
Updated
Jun 8, 2020 - C++
-
Updated
Jun 7, 2020 - Java
-
Updated
Apr 21, 2020 - Python
-
Updated
May 27, 2020 - C#
-
Updated
May 26, 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.
I create leetcode directory. You can contribute solution for Leetcode algorithm by C language.
Good practice coding :)
Please put some comment for explanation. It helps other people understand your algorithm better
-
Updated
Jul 12, 2019 - Jupyter Notebook
-
Updated
Apr 13, 2020 - Python
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
Feb 8, 2020
-
Updated
Mar 2, 2020
-
Updated
Apr 18, 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 :)
- 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