Delete printPaths from the root to the leaf