What is Data Structure and Algorithm?


Data structure and algorithm , DSA, Computer science


What is Data Structure?

Definition:

In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification.

In Simple Words:

Data Structure is a way in which data is stored on a computer.




Data structure and algorithm , DSA, Computer science,What is an Algorithm ,What is Data Structure

What is an Algorithm?

An algorithm is a list of rules or instructions to follow in a specific order to perform the task.

Dictionary Definition:

A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

Data structure and algorithm , DSA, Computer science,What is an Algorithm ?,What is Data Structure ?


Linear Data Structure

Linear data structures are easy to implement because computer memory is arranged in a linear way. A Linear data structure has data elements arranged in a sequential manner and each member element is connected to its previous and next element.

Non-linear Data Structure

Data structures where data elements are not arranged sequentially or linearly are called non-linear data structures. A non-linear data structure has no set sequence of connecting all its elements and each element can have multiple paths to connect to other elements. 

data structure and algorithum, computer sciencem it, cs, ce,