Data structures · Trees and traversals
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.