Data structures · Trees and traversals

Lab: Leaves and height

A file browser shows how deep its deepest folder sits and how many folders hold no other folders, and both answers come from short recursions.