-
Updated
Jan 3, 2020 - Objective-C
array
Here are 1,692 public repositories matching this topic...
Given a blacklist B
containing unique integers from [0, N)
, write a function to return a uniform random integer from [0, N)
which is NOT in B
.
Optimize it such that it minimizes the call to system’s Math.random()
.
Note:
1 <= N <= 1000000000
0 <= B.length < min(100000, N)
[0, N)
does NOT include N. See [interval notation](https://en.wikipedia.org/wiki/Interval_\
-
Updated
Sep 30, 2019
Documentation error at Basics.Int (source):
of that range, the behavior is determined by the compilation target. When
generating JavaScript, the safe range expands to `-2^53` to `2^53 - 1` for some
operations, but if we generate WebAssembly some day, we would do the traditional
The safe range starts from `-(2^53 - 1)
Potentially dump question - the documentation of this project is generated with Sphinx. Is there any specific reason why PDF is not explicitly supported as an output format in this project? Sphinx does support it out of the box and I could patch it into the documentation's makefile if there are no objections.
-
Updated
May 15, 2020 - Java
-
Updated
Jan 7, 2020 - Swift
Looks like there's no example using vector types defined in cltypes while the doc itself for these types are not so understandable. There are many examples having kernels taking vector type arguments, but the python code is using the numpy
type, instead of the defined vector type. E.g. https://github.com/inducer/pyopencl/blob/master/examples/demo_elementwise_complex.py
Hi,
http://yonaba.github.io/Moses/doc/
From this page if you click on the Tutorial link on the left hand side you are taken to the tutorials page (http://yonaba.github.io/Moses/doc/manual/tutorial.md.html). The Section links in that page don't work. Then, if one goes back to the index on the left and click the moses module, the user gets a 404.
I tested this in both Chrome 69.0.3497.100
-
Updated
Apr 24, 2020 - JavaScript
-
Updated
Apr 11, 2020 - HTML
-
Updated
Aug 8, 2019 - JavaScript
-
Updated
Mar 15, 2019 - JavaScript
-
Updated
May 15, 2020 - Python
- -
slength
- -
maxSize
- -
size
- -
snull
- -
(!?)
- -
(!)
- -
index
- -
index'
- -
head'
- -
shead'
- -
last'
- -
indexM
- -
headM
- -
sheadM
- -
lastM
- -
unconsM
- -
unsnocM
- -
slice
- -
slice'
- -
sliceM
- -
sslice
- -
sliceAt
- - `slic
-
Updated
Apr 6, 2020 - PHP
-
Updated
May 21, 2020 - C#
- Examples folder.
- Reverse Map: https://repl.it/@yrnd1/Morphism-ReverseMap
- Map towards a complex structure: https://stackblitz.com/edit/morphism-issues-50?file=index.ts
- Redux
- RxJs
- Axios interceptor
- Decorators
Update documentation
-
Updated
Feb 18, 2020 - Swift
ramsey/collection requires packages in composer.json which have been marked as abandonded by the author as of 20 days ago (March 15, 2020):
jakub-onderka/php-parallel-lint (see https://github.com/JakubOnderka/PHP-Parallel-Lint)
Recommended replacements:
https://github.com/php-parallel-lint/PHP-Parallel-Lint
I found this issue by loading up a new fresh copy of Laravel and it was complai
-
Updated
Jan 20, 2020 - JavaScript
-
Updated
May 3, 2020 - Rust
-
Updated
Apr 28, 2020 - JavaScript
Not sure if this is what we need. To be clear, here is how these things SHOULD work: There should be a CMake option (looks like DOCS) that turns on generation of documentation. If that option is not set, then no docs are generated. If the option IS set, then docs will be generated. If the option is set and the required programs for generating docs do not exist (pdflatex
and texi2pdf
), then
Improve this page
Add a description, image, and links to the array topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the array topic, visit your repo's landing page and select "manage topics."
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.