Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
""
"
2
Sparse table is a data structure that allows answering range queries on
3
a static number list, i.e. the elements do not change throughout all the queries.
4
Callers
nothing calls this directly
Calls
2
query
Function · 0.85
build_sparse_table
Function · 0.85
Tested by
no test coverage detected