Insert
20
9
2
15
5
10
30
7
17
runtime:
void insert(Comparable key,
Node * root) {
Node *& target(find(key,
root));
assert(target == NULL);
target = new Node(key);
}
Previous slide
Next slide
Back to first slide
View graphic version