Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linear Linked List - valid/common terminology?

Is speaking of a linear linked linked in contrast to a circular linked list a valid / common term? For some examples I'm posting to my students I need to distinguish between both and don't want to use terms which don't actually exist!

like image 814
helpermethod Avatar asked Jul 07 '10 08:07

helpermethod


People also ask

What is linked list and linked list terminology?

In computer science, a linked list is a linear collection of data elements whose order is not given by their physical placement in memory. Instead, each element points to the next. It is a data structure consisting of a collection of nodes which together represent a sequence.

What are linked lists most commonly used for?

Linked lists are often used because of their efficient insertion and deletion. They can be used to implement stacks, queues, and other abstract data types.


1 Answers

I would simply call them "non-circular".

Just for reference, Lisp defines "proper lists" as lists that are terminated by the empty list. "Improper" lists can be "circular lists" or "dotted lists" (lists that are not terminated by the empty list but by some other atom).

like image 177
Svante Avatar answered Oct 11 '22 05:10

Svante