[prev] [index] [next]

TreeLab

A shell for manipulating binary search trees
  • command interpreter (tlab.c) + Tree ADT (Tree.[ch])
Commands:

n N Ord Seed = make a new tree
i N = insert N into tree
I N = insert N into tree at root
d N = delete N from tree
f N = search for N in tree
g I = get the i'th element in tree
p I = partition tree around i'th element
R = rotate tree right around root
L = rotate tree left around root
q = quit