HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

C++ Tutorial: Linked Lists Part Two: Append

7,528 views October 29, 2017 9:55

Watch on YouTube
ChannelProfessor Hank Stalica

Description from the creator

In computer science, a linked list is a linear collection of data elements, called nodes pointing to the next node by means of pointer.

This data structure serves as a foundation upon which other data structures such as the doubly linked list, circular linked list, stack, queue, priority queue, trees, etc can be built. A thorough understand of the linked list is therefore essential.

In this, part two of this series, we will examine the append algorithm. We take a look at the basic append algorithm:

create a new node
assign data to it
if the list is empty:
place the new node at the beginning of the list
else:
traverse to the end of the list
add the new node to the end of the list
end if

This implies the list is unordered.

In part three of this series, we'll examine an algorithm for inserting nodes into the list, maintaining an ordering of the list.

You can watch the entire series via it's play list here:
youtube.com/playlist?list=PLaatXkJEXKyI5Kyd6NXr…

About this tutorial

Professor Hank Stalica published this 9:55 video tutorial on October 29, 2017. It has been watched 7,528 times on YouTube.

Category
Education
Duration
9:55
Published
October 29, 2017
Views
7,528
Likes
94

Tags

Share

This tutorial in other languages