Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Singly Linked List vs Doubly Linked List

Rating
-
Sold
-
Pages
4
Uploaded on
29-10-2022
Written in
2020/2021

Singly Linked List vs Doubly Linked List

Institution
Course

Content preview

Singly Linked List vs Doubly Linked List

Before looking at the differences between the singly linked list and doubly linked list,
we first understand what is singly linked list and doubly linked list separately.

What is a singly linked list?

A singly linked list can be simply called a linked list. A singly linked list is a list that
consists of a collection of nodes, and each node has two parts; one part is the data
part, and another part is the address. The singly linked can also be called a chain as
each node refers to another node through its address part. We can perform various
operations on a singly linked list like insertion, deletion, and traversing.




What is a doubly-linked list?

A doubly linked list is another type of the linked list. It is called a doubly linked list
because it contains two addresses while a singly linked list contains a single address.
It is a list that has total three parts, one is a data part, and others two are the pointers,
i.e., previous and next. The previous pointer holds the address of the previous node,
and the next pointer holds the address of the next node. Therefore, we can say that
list has two references, i.e., forward and backward reference to traverse in either
direction.

Written for

Institution
Course

Document information

Uploaded on
October 29, 2022
Number of pages
4
Written in
2020/2021
Type
Class notes
Professor(s)
Anupama
Contains
All classes

Subjects

$8.69
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
KanchanaMM

Also available in package deal

Get to know the seller

Seller avatar
KanchanaMM TKMCE
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
7
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions