DataStructure & Algorithm Introduction

Data structure & algorithm are two difference concepts, Data Structure help organizing and storing the data and algorithm is a step by step procedure to solve the promlem. With the help of DSA in application we can achieve efficient code like less processing time and less memory.

  1. Data Structure → Way of organizing and storing data
  2. Algorithm → Step-by-step procedure to solve a problem

Data Structures

  1. 1. Arrays
  2. 2. String
  3. 3. LinkedList
  4. 4. Hashing
  5. 5. Stack
  6. 6. Queue
  7. 7. Tree
  8. 8. Graph
  9. 9. Trie
Algorithm
  1. 1. Searching Algorithm
  2. 2. Sorting Algorithm
  3. 3. Recursions
  4. 4. Greedy Algorithm
  5. 5. Graph Algorithm
  6. 6. Dynamic Programming
  7. 7. Bitwise Algorithm

Data structures are classified in two different types

  1. 1. Linear Data Structure
  2. 2. Non Linear Data Structure

Linear Data Structures: A data structure that stores elements sequentially called linear data structure example: Array, LinkedList, Stack, Queue and Deque

Non Linear Data Structures: A data that stores elements in a hierarchical or network form called non linear data structure example: Graph, Tree, Trie