The Wayback Machine - https://web.archive.org/web/20240118020915/https://www.geeksforgeeks.org/data-structures/
Open In App
Related Articles

Data Structures Tutorial

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Learn Data Structures and Algorithms | DSA Tutorial
Learn more about Data Structure in DSA Self Paced Course
Practice Problems on all Data Structures

What is Data Structure?

A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accessed and updated efficiently.

Image

A data structure is not only used for organizing the data. It is also used for processing, retrieving, and storing data. There are different basic and advanced types of data structures that are used in almost every program or software system that has been developed. So we must have good knowledge about data structures. 

Get Hands-on With Data Structures and Algorithms

Master fundamental computer science concepts to solve real-world problems and ace coding interview questions with Educative’s interactive course Data Structures and Algorithms in Python. Sign up at Educative.io with the code GEEKS10 to save 10% on your subscription.

Classification of Data Structure:

Image

Classification of Data Structure

  • Linear Data Structure: Data structure in which data elements are arranged sequentially or linearly, where each element is attached to its previous and next adjacent elements, is called a linear data structure. 
    Example: Array, Stack, Queue, Linked List, etc.
    • Static Data Structure: Static data structure has a fixed memory size. It is easier to access the elements in a static data structure. 
      Example: array.
    • Dynamic Data Structure: In dynamic data structure, the size is not fixed. It can be randomly updated during the runtime which may be considered efficient concerning the memory (space) complexity of the code. 
      Example: Queue, Stack, etc.
  • Non-Linear Data Structure: Data structures where data elements are not placed sequentially or linearly are called non-linear data structures. In a non-linear data structure, we can’t traverse all the elements in a single run only. 
    Examples: Trees and Graphs.

Introduction to Data Structures:

Array Data Structure:

All Articles on Array
Coding Practice on Array
Quiz on Array
Coding Practice on Array
Recent Articles on Array

Linked List Data Structure:

1. Singly Linked List:

2. Circular Linked List:

3. Doubly Linked List:

All Articles of Linked List
Coding Practice on Linked List
Recent Articles on Linked List

Matrix Data Structure:

All Articles on Matrix
Coding Practice on Matrix
Recent Articles on Matrix.

Stack Data Structure:

All Articles on Stack
Coding Practice on Stack
Recent Articles on Stack

Queue Data Structure:

All Articles on Queue
Coding Practice on Queue
Recent Articles on Queue

Binary Tree Data Structure:

All articles on Binary Tree
Coding Practice on Binary Tree
Recent Articles on Tree

Binary Search Tree Data Structure:

All Articles on Binary Search Tree
Coding Practice on Binary Search Tree
Recent Articles on BST

Heap Data Structure:

All Articles on Heap
Coding Practice on Heap
Recent Articles on Heap

Hashing Data Structure:

All Articles on Hashing
Coding Practice on Hashing
Recent Articles on Hashing

Graph Data Structure:

All Articles on Graph Data Structure
Coding Practice on Graph
Recent Articles on Graph

Advanced Data Structure:

1. Advanced Lists:

2. Segment Tree Data Structure:

All Articles on Segment Tre

3. Trie Data Structure:

All Articles on Trie

4. Binary Indexed Tree Data Structure:

All Articles on Binary Indexed Tree

5. Suffix Array and Suffix Tree:

All Articles on Suffix Tree

6. AVL Tree:

7. Splay Tree:

8. B Tree:

9. Red-Black Tree:

All Articles on Self-Balancing BSTs

10. K Dimensional Tree:

Others Data Structures:

Misc:


Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 17 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials