Exercise 5.9
One can use the data structures described in this chapter to determine whether a particular point (a,b) is in a given set by performing a range query with range [a:a]x[b:b].
-
Prove that performing such a range query on a kd-tree takes time O(log n)
-
What is the time bound for such a query on a regular range tree (i.e., without Fractional Cascading)? Prove your answer.
The due date is April 7 before class. Note that we will discuss the solution to the assignment in the first hour, so you should submit your assignment when you come to class on Monday.