Array In Data Structure | Types Of Data Structure | TECH WORTHY MIND


Data structure are two types Primitive and Non Primitive and Non Primitive are also divided into two parts Linear data structure and Non Linear data structure . Linear data structure are Array, linked list, stack, Queue.
Classification of Data Structures 

Data Structure

is a mathematically and logical model of storing and organizing data so that we can use that data efficiently and also it can be required for designing and implementation of Algorithm.

eg:- Array, Linked list, stack, queues, etc.

      

Array In Data Structures 

The array is the collection of a finite ordered set of homogenous elements.

Or Array is the collection of similar data types like int, char, etc.

The array is characterized into three form

1. One-dimensional array

2. Two-dimensional array

3. Multidimensional array                                 

     

Queue In Data structure 

A queue is the ordered collection of items from which items may be deleted at one end (front) and into which items may be inserted at the other end (called the rear of the queue).

Stack in the data structure

A stack is an also ordered collection of elements into which a new item may be inserted and from which items may be deleted at one end, called the top of the stack.
It follows the order Last-In-first-Out (LIFO) and the queue follows First-In-First-Out (FIFO).

Linked List

The linked list also a linear data structure in which data is stored with the address of consecutive nodes.
1. Singly-linked list
2. Doubly linked list
3. Circular linked list

                                                   -Harshit Kumar


Comments

Popular posts from this blog

How To Hack Wifi | Hack Wifi Password | TECH WORTH MIND

Remove Tools From Termux | How can I reopen the installed tool in termux? | TECH WORTHY MIND