0% found this document useful (0 votes)
35 views1 page

Tubio - Ivan Cesar - Data Structure - Task4

Data structure is a way of organizing and storing data in a computer so it can be accessed efficiently. There are two main types - linear structures that arrange elements in a sequence, and nonlinear structures that connect elements hierarchically without a defined sequence. The right data structure depends on your specific project requirements and complexity, with linear generally being easier to implement but nonlinear potentially handling complexity better.

Uploaded by

ivan tubs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Tubio - Ivan Cesar - Data Structure - Task4

Data structure is a way of organizing and storing data in a computer so it can be accessed efficiently. There are two main types - linear structures that arrange elements in a sequence, and nonlinear structures that connect elements hierarchically without a defined sequence. The right data structure depends on your specific project requirements and complexity, with linear generally being easier to implement but nonlinear potentially handling complexity better.

Uploaded by

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

What is Data Structure?

* Data structure is a storage that is used to store and organize data. It is a way of arranging data
on a computer so that it can be accessed and updated efficiently.

Depending on your requirement and project, it is important to choose the right data structure for
your project.

There are two types of data structure

Linear data structures

In linear data structures, the elements are arranged in sequence one after the other. Since
elements are arranged in particular order, they are easy to implement.

However, when the complexity of the program increases, the linear data structures might not be
the best choice because of operational complexities.

Nonlinear data structures

Unlike linear data structures, elements in non-linear data structures are not in any sequence.
Instead they are arranged in a hierarchical manner where one element will be connected to one or
more elements.

Non-linear data structures are further divided into graph and tree-based data structures.

Reference: https://www.programiz.com/dsa/data-structure-types

You might also like