addRange function to update the tree by setting the tracked property to true for the given interval.queryRange function to check if the entire interval is tracked by traversing the tree.removeRange function to update the tree by setting the tracked property to false for the given interval.