Arrays

What is Data Structures

Data Structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.

Depending on the organization of the elements, data structures are classified into two types:

  1. Linear data structure: Elements are accessed in a sequential order but it is not compulsory to store all elements sequentially.
  2. Non-linear data structure: Elements of this data structure are stored/accessed in non-linear order.

 

Types of Data Structures

  • Arrays
  • Sorting
  • Linked List
  • Stack
  • Queue
  • Tree
  • Graph
  • Hashing
  • Heap

  • Arrays
  • Sorting
  • Linked List
  • Stack
  • Queue
  • Tree
    • Binary Tree
    • Binary Search Tree (BST)
    • Balanced Binary Tree
  • Graph
  • Hashing
  • Heap