What is the difference between a linklist and a linknode?

A Linklist is a data structure made up of multiple Linknodes. Each Linknode within a Linklist contains a data field and a pointer field, with the data field storing information and the pointer field indicating the next node in the list. In essence, a Linklist is a chain of Linknodes interconnected to form a list structure.

In short, Linknode is a node in a linked list, while Linklist is a collection of linked lists.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds