Advanced Data Structures
Improve
Learn Data Structures and Algorithms | DSA Tutorial
Learn more about Advanced Data Structures in DSA Self Paced Course
Practice Problems on all Advanced Data Structure
Advanced Data Structures are used to store and manage data in an efficient and organized way for faster and easier access and modification of Data. Some of the basic data structures are Arrays, LinkedList, Stacks, Queues, etc.
This page will contain some of the complex and Advanced Data Structures like Disjoint Sets, Self-Balancing Trees, Segment Trees, Tries etc.
Table of Content
Advanced Lists:
- Generic Linked List in C
- Memory efficient Doubly Linked List
- XOR Linked List | Set 1
- XOR Linked List | Set 2
- Skip List
- Self-Organizing List
- Unrolled Linked List
n-ary Tree:
- Generic Trees (N-ary Tree)
- Mirror of n-ary Tree
- Diameter of an N-ary tree
- Depth of an N-Ary tree
- Height of n-ary tree if parent array is given
- Number of ways to traverse an N-ary tree
- Number of siblings of a given Node in n-ary Tree
- Next Larger element in n-ary tree
- Serialize and Deserialize an N-ary Tree
- DFS for a n-ary tree (acyclic graph) represented as adjacency list
Self Balancing BSTs:
- AVL Tree:
- Splay Tree:
- B-Tree:
- Red-Black Tree:
- Scape Goat Tree and Treap:
Trie:
- Introduction to Trie – Data Structure and Algorithm Tutorials
- Trie | (Insert and Search)
- Trie | (Delete)
- Pattern Searching using a Trie of all Suffixes
- Longest Common Prefix
- Implement a Phone Directory
- Weighted Prefix Search
- Boggle
- Palindrome pair in an array of words (or strings)
- How to Implement Reverse DNS Look Up Cache?
Segment Tree:
- Introduction to Segment Trees – Data Structure and Algorithm Tutorials
- Range minimum query
- Lazy Propagation
- Persistent Segment Tree
- Range Minimum Query (Square Root Decomposition and Sparse Table)
- Min-Max Range queries in array
- LCA in a binary tree using RMQ
- Introduction to Heavy Light Decomposition
- Reconstructing Segment Tree
- Longest Common Extension / LCE using Segment Tree
Binary Indexed Tree:
- Binary Indexed Tree or Fenwick Tree
- Two Dimensional Binary Indexed Tree or Fenwick Tree
- Binary Indexed Tree : Range Updates and Point Queries
- Binary Indexed Tree : Range Update and Range Queries
- proto van Emde Boas Trees | Background and Introduction
Suffix Array and Suffix Tree
- Suffix Array Introduction
- Suffix Tree Introduction
- Ukkonen’s Suffix Tree Construction – Part 1
- Generalized Suffix Tree
- Suffix Tree Application 1 – Substring Check
K-Dimensional Tree:
- Search and Insertion in K Dimensional tree
- Find minimum in K Dimensional Tree
- Deletion in K Dimensional Tree
Disjoint Set:
- Disjoint Set Data Structures
- Introduction to Disjoint Set Data Structure or Union-Find Algorithm
- Disjoint Set Union on Trees
- Union By Rank and Path Compression in Union-Find Algorithm
Some other Data Structure:
- Palindromic Tree | Introduction & Implementation
- Ternary Search Tree
- Interval Tree
- BK-Tree | Introduction & Implementation
- Cartesian Tree
- Sparse Set
- Gomory-Hu Tree
- Persistent Data Structure
Quick Links:
Recomended:
Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!
Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Share your thoughts in the comments

