What is the difference between a head node, a head pointer, and a starting node in a data structure

Source: Internet
Author: User
Data

The start node refers to the first node in the list, and it has no direct predecessor.

The head pointer is a pointer to the start node (in the case of No head node). A single linked list can be uniquely determined by its head pointer, and a single linked list is typically named with its head pointer.

The head node is a node that is attached before the start node of the linked list. With the head node, the head pointer points to the head node, regardless of whether the linked list is empty, the head pointer is always non-empty, and the head node is set so that the first position on the list is the same as the operation in other locations in the table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.