What is Data Structures and Algorithms|Uses and Application

If you are from a coding background or in future you want to do coding then knowing about Data Structures becomes very crucial for you.

Because Data Structure gives you the ability to solve complex problems in a simplest possible way.

If you have searched for Data Structures and algorithms then you are on a right place. Here you will get to know about what is data structure, what are algorithms, types of data structures and many more things about Data structures and Algorithms.

What is Data Structure ?

Data Structure is comprises of two words ‘Data’ and ‘Structure’. Data means information and structure means a way in which you can store data.

So, Data Structure is nothing but a way to store data in a structural it may linear or non-linear.

Types of Data Structures

As far as types of Data Structures is concerned Data Structure is of two types :

  • Linear Data Structure : These are the Data Structures in which Data is stored in a linear fashion. Examples of Linear Data Structures are Array, Stack, Queue.
  • Non-Linear Data Structure : Data Structures in which Data is stored in a non-linear fashion are known as Non-Linear Data Structures. Non-Linear Data Structures includes Tree, Graph.

What is Algorithm ?

In Computer Science Algorithm is nothing but writing the code in a simple language like English. Such type of code is know as Pseudo Code.

Algorithms plays a very important role in solving coding problems. Specially when the time complexity is involved in the question.

Suppose you need to solve a question such that the time complexity didn’t exceed the given value of time complexity in the question.

And if you go by traditional brute force approach you will definitely get an error of time limit exceeded(TLE). So, in this case you need to apply a algorithm whichever is suitable.

Types of Algorithms

As such there is not a fixed number of algorithms. There are hundreds of algorithms. Some of them are as Follows:

  • Divide and Conquer Algorithm
  • Binary Search
  • Sorting Algorithms
  • Prims Algorithms
  • Dynamic Programming

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top