Data Structures: A Quick Overview

Types of Data Structures

Viral Prajapati
2 min readSep 12, 2022
Photo by Ales Nesetril on Unsplash

What Is Data Structures?

In order to understand why DS is the main topic of all software engineering interviews, or why they are so important in any CS/IT field, we must first understand what DS is.

The method for storing and organizing data in your program is called a data structure. We are able to efficiently store and organize data with the aid of various DS. Our program is more effective thanks to the use of DS. So, to put it simply, DS is a container that can store data and execute multiple operations (PUSH, POP, SEARCH, etc.) on that data.

However, not all data structures are effective for all tasks, issues, or software. For various jobs, some DS are effective while others are not. And another DS performs flawlessly for some things, but not all of them (For EX. Graph works efficiently for route finding but not in Undo operation task where Stack works perfectly).

Therefore, these are the reasons why it is important to learn all the fundamental DSs so that you can comprehend various issues and identify effective solutions.

Types of Data structures

There are mainly two types of DS

  1. Linear Data structures.
  2. Non-Linear Data structures.

Linear Data structures

  1. Arrays
  2. Linked List
  3. Stack
  4. Queue

Non-Linear Data Structures

  1. Tree
  2. Hash-Table
  3. Graph

Conclusion

So, this was the basic overview of Data Structures and I hope you all had fun reading and learning. Thank you!

--

--

Viral Prajapati
0 Followers

Aspiring Data Scientist | Software Developer