Monday, 3 July 2023

What is Data Structure?

 What is Data structure?

A 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.

There are different types of methods used to store and organized the data, they are

Main two types, 

  1.     Linear Data structure
  2.     Non – linear Data structure

Linear data structure

       Linear data structures are those in which the elements are arranged sequentially, 

and each element is connected to its previous and next elements. 






Example:

  • Array
  • Queue
  • Stack
  • Linked List
  • Non-Linear data structure

Non-linear Data Structures

Non-linear data structures are those in which the elements are not 

arranged sequentially. Instead, each element is connected to one or more other elements. 

in a way that forms a hierarchical structure.





Example:

  • Tree
  • Graph


No comments:

Post a Comment

Word Basic Exercise

Exercise 1: Opening a document Show and hide the ribbon Move, show, and hide options of Quick Access toolbar Exercise 2: Cre...