0% found this document useful (0 votes)
19 views6 pages

Types of data structures

Uploaded by

shruti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views6 pages

Types of data structures

Uploaded by

shruti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Amity School of Engineering &

Technology
Types of Data Structures

There are two types of data structures:


 Primitive data structure

 Non-primitive data structure


Amity School of Engineering &
Technology
Primitive data structure

The primitive data structures are


primitive data types. The int, char,
float, double, and pointer are the
primitive data structures that can
hold a single value.
Amity School of Engineering &
Technology

Non-Primitive Data structure


The non-primitive data structure is divided
into two types:
• Linear data structure
• Non-linear data structure
Amity School of Engineering &
Technology

• Linear data structure:-The arrangement of


data in a sequential manner is known as a
linear data structure. The data structures
used for this purpose are Arrays, Linked
list, Stacks, and Queues. In these data
structures, one element is connected to
only one another element in a linear form.
Amity School of Engineering &
Technology

• Non-linear data structure:-When one


element is connected to the 'n' number of
elements known as a non-linear data
structure. The best example is trees and
graphs. In this case, the elements are
arranged in a random manner.
Amity School of Engineering &
Technology

You might also like