Data structure - What is a data structure? What are the types of data structures?

What is a data structure? What are the types of data structures?

Data structures are used to store data in a computer in an organized fashion. Different types of data structures are:-

Stack- Works in first in last out order. The element inserted first in stack is removed last.

Queue- First in First out order. The element inserted first is removed first.

Linked list- Stored data in a linear fashion.

Trees- Stores data in a non linear fashion with one root node and sub nodes.

What is a data structure? What are the types of data structures?

The scheme of organizing related information is known as ‘data structure’.

The types of data structure are:
Lists: A group of similar items with connectivity to the previous or/and next data items.
Arrays: A set of homogeneous values
Records: A set of fields, where each field consists of data belongs to one data type.
Trees: A data structure where the data is organized in a hierarchical structure. This type of data structure follows the sorted order of insertion, deletion and modification of data items.
Tables: Data is persisted in the form of rows and columns. These are similar to records, where the result or manipulation of data is reflected for the whole table.
Data structure - Define a linear and non linear data structure
Linear and non linear data structure - An array is a set of homogeneous elements. Every element is referred by an index........
Data structure - Define in brief an array. What are the types of array operations?
Array and types of array operations - An array is a set of homogeneous elements. Every element is referred by an index......
Data structure - What is a matrix? Explain its uses with an example
A matrix is a representation of certain rows and columns, to persist homogeneous data. It can also be called as double-dimensioned array......
Post your comment
Discussion Board
data structure
What are the application of data structure
shweta 12-11-2016
data structure
Data structure refers to an arrangement of data.
Each data related in the memory
shamju jalal 03-17-2016
Unique Data Structures
Alongside the ones listed here, there are several unique data structures worth checking out. I've implemented a few over here: www.devanpatel.me/implementing-unique-data-structures-in-c/
Devan Patel 02-18-2015
data structure
Stack- Works in LIST IN FIRST OUT order. The element inserted first in stack is removed last.
it is also called LIFO types of list.
juhi dubey 05-13-2013