Subha Chandra
Apr 6, 2024

Data Structures

There are two types of data structures

  1. Linear Data Structure
    a. It’s sequential
    b. one element is adjacent to the next and previous elements
    c. we can traverse all the data into a single run
    Examples: Arrays, Linked List, Stack and Queues
    All the web browsers uses the stack to store the backward/forward operations.
  2. Non - Linear
    a. Data is not organised sequentially
    b. one element is adjacent to the next and previous and more elements
    c. it’s not easy to traverse all the data elements, the user needs multiple iteration to traverse them completely.
    Examples: Graphs, Trees, Maps

Data Structures Flow Chart

Subha Chandra
Subha Chandra

No responses yet