MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / sparse_table.py

File sparse_table.py

data_structures/arrays/sparse_table.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Sparse table is a data structure that allows answering range queries on
3a static number list, i.e. the elements do not change throughout all the queries.
4

Callers

nothing calls this directly

Calls 2

queryFunction · 0.85
build_sparse_tableFunction · 0.85

Tested by

no test coverage detected