Home
Data Structure Tutorial
This section contains the data structure tutorial with the most common and most popular topics like Linked List, Stack, Queue, Tree, Graph etc.
Data structure is logical or mathematical organization of data; it describes how to store the data and access data from memory. Actually in our programming data stored in main memory(RAM) and To develop efficient software or firmware we need to care about memory. To efficiently manage we required data structure.
There are two different types of data structure:
- Linear Data Structure: In linear data structure data elements stored in sequential manner. Stack, Queue and Linked List are the types of linear data structure.
- Non Linear Data Structure: In Non-Linear data structure data elements are not stored in the sequence manner. Tree and Graph are the type of non-linear data structure.
Topics of Data Structure
List of Data Structure Tutorial topics...
Tree
- Introduction to Trees and its terminologies.
- Binary tree, Definition and its properties.
- Binary Tree representation (Sequential and Link).
- Traversal technique for Binary Tree.
- Insertion in Binary Search Tree (BST).
- Deletion in Binary Search Tree (BST).
- Find Height (Maximum Depth) of a Binary Search Tree (C++ program).
- Find the Number of Nodes in a Binary Search Tree (C++ program).
- Find the number of leaf nodes in a Binary Tree | Data Structure.
- Find whether two trees are structurally identical or not | Data Structure.
- AVL Tree, Left and right rotations.
- Introduction to B Tree and its operations
- Red Black Tree (Properties, Advantages, Inserting Nodes).
- Interval Tree in Data Structure.
- Threaded Binary Tree | Data Structure.
- Level Order Traversal on a Binary Tree | Data Structure.
- Segment Trees
- Construct a Binary Tree from Postorder and Inorder Traversal
Graph
- Introduction to Graph in Data Structure
- Representation of a Graph in Data Structure
- Breath First Search (BFS) of a Graph
- Depth First Search (DFS) of a Graph
- Cycle Detection in an Undirected Graph
- Cycle Detection in a Directed Graph
- Prim's Minimum Spanning Tree
- Count all the possible path between two vertices
Sorting
- Heap Sort (Introduction, Algorithm and Program using C).
Competitive Questions
- Aggressive Cows (On Binary Search)
- Find Maximum Range of Query using Segment Trees
Misc.
- Augmenting Data Structure.
- Tail Recursion and Tower of Hanoi using C.
- Asymptotic Notations.
- Hashing (Hash table, Hash functions and its characteristics).
- Hamiltonian Cycle in Data Structure.
TOP Interview Coding Problems/Challenges