root / head / tail [terminology]
Terminology¶
Usage¶
- Use
rootfor the entry node of a tree or trie. - Use
headfor the first node of a linked list. - Use
tailfor the final node of a list being constructed or merged. - These structural names should not be replaced by generic names such as
nodeorcurwhen their structural role matters.