tree, heaps, and graphs