Skip to content
Snippets Groups Projects
Commit f15f936c authored by Martin Mareš's avatar Martin Mareš
Browse files

Range trees: Fixed complexity of RangeQuery in the summary

parent c3a0ad68
No related branches found
No related tags found
No related merge requests found
...@@ -325,7 +325,7 @@ for all rebalancing of the constituent 1-d trees. The same argument applies to ...@@ -325,7 +325,7 @@ for all rebalancing of the constituent 1-d trees. The same argument applies to
Let us summarize time complexity of all operations: Let us summarize time complexity of all operations:
\optable{ \optable{
\op{Build} &$\O(n\log^{d-1} n)$ \cr \op{Build} &$\O(n\log^{d-1} n)$ \cr
\op{RangeQuery} &$\O(n\log^d n + p)$ for $p$~reported points \cr \op{RangeQuery} &$\O(\log^d n + p)$ for $p$~reported points \cr
\op{Insert} &$\O(\log^d n)$ amortized \cr \op{Insert} &$\O(\log^d n)$ amortized \cr
\op{Delete} &$\O(\log^d n)$ amortized \cr \op{Delete} &$\O(\log^d n)$ amortized \cr
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment