CHAPTER 5
LINKED LISTS
This chapter introduces you to a data structure called a linked list, which includes singly linked lists, doubly linked lists, and circular lists. Linked lists support various operations, such as create, traverse, insert, and delete operations. This chapter shows you how to implement linked lists and how to perform some operations on linked lists. Chapter 6 contains various task-related code samples that involve more than just the basic operations on linked lists. Keep in mind that algorithms for linked lists often involve recursion, which is discussed in Chapter 2.
The first part of this chapter introduces you to linked lists, followed by examples of performing various operations on singly linked lists, such as creating ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access