rangeMaxQuery
Python's implementation of range maximum query.
Install
- Install via
$ pip install range_max_query.
How to use
$ from range_max_query import RangeMaxQuery.
>>> A = [2, 3, 4, 1, 7]
>>> arr = RangeMaxQuery(A) # initialize data structure
>>> arr.range_max_query(1, 4) # maximum query in range(1, 4)
7
>>> arr.update(1, 10) # set A[1] = 10 and update the data structure
>>> arr.range_max_query(1, 4) # maximum query in range(1, 4)
10
Release files for range-max-query 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| range_max_query-1.0.3.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| range_max_query-1.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.8 kB
Release files / range_max_query-1.0.3.tar.gz
| Download URL | range_max_query-1.0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d57f06eeb0f646635ad62da8dfb1e0ad5df1d451ccd6eec17c5c408287474f84
|
|
BLAKE2b-256 checksum How to use checksums |
13c58817e48ba6b6e144bca5d93e4d7c92cdab08f46bf5d06ddd4969d06f3296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
|
Release files / range_max_query-1.0.3-py2.py3-none-any.whl
| Download URL | range_max_query-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2f545d0a91c330fa33b1fde067d739d31ed778c58daafc21184f984fd7c54115
|
|
BLAKE2b-256 checksum How to use checksums |
702d0b0cce245bc1f90a42062745551101e2e88f13db031fbce6fbce2db1778a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
|