Minimal Absent Words in Rooted and Unrooted Trees