Data Structures Tutorials
Welcome to Data Structures Tutorials by ProgramGuru.org. We shall cover data structures like Linked Lists, Stacks, Queues, Trees, Graphs, etc., and go through different operations on each of them.
Arrays
Sorting
- Bubble Sort Algorithm
- Bucket Sort Algorithm
- Comb Sort Algorithm
- Counting Sort Algorithm
- Heap Sort Algorithm
- Insertion Sort Algorithm
- Merge Sort Algorithm
- Quick Sort Algorithm
- Radix Sort Algorithm
- Selection Sort Algorithm
- Shell Sort Algorithm
- Bitonic Sort Algorithm
- Cocktail Sort Algorithm
- Cycle Sort Algorithm
- Tim Sort Algorithm
Linked Lists
Singly Linked Lists
- Introduction to Singly Linked Lists
- Traverse Singly Linked Lists
- Find the Length of a Singly Linked List
- Insert a Node at the Beginning of a Singly Linked List
- Insert a Node at the End of a Singly Linked List
- Insert a Node in the Middle of a Singly Linked List
- Delete the Head Node of a Singly Linked List
- Delete the Last Node of a Singly Linked List
- Reverse a Singly Linked List
- Sort a Singly Linked List
- Merge Two Singly Linked Lists
- Detect a Cycle in a Singly Linked List
- Find the Middle Node in a Singly Linked List
- Find the Kth Node from the End in a Singly Linked List
- Remove Duplicates from a Singly Linked List
- Find the Intersection Point of Two Singly Linked Lists
- Swap Two Nodes in a Singly Linked List
Doubly Linked Lists
- Introduction to Doubly Linked Lists
- Traverse Doubly Linked Lists
- Insert a Node at the Beginning of a Doubly Linked List
- Insert a Node at the End of a Doubly Linked List
- Insert a Node at a Specific Position in a Doubly Linked List
- Insert a Node in the Middle of a Doubly Linked List
- Reverse a Doubly Linked List
- Merge Two Doubly Linked Lists
CircularLinked Lists
Stacks
- Stack Basics
- Stack Push Operation
- Stack Pop Operation
- Stack Peek Operation
- Check if Stack is Empty
- Check if Stack is Full
- Balanced Parenthesis Problem using Stack
- Reverse a String using Stack
- Evaluate Postfix Expression using Stack
- Next Greater Element Problem using Stack
- Next Smaller Element Problem using Stack
- Largest Rectangle in Histogram Problem using Stack
- Celebrity Problem using Stack
- Remove K Digits Problem using Stack
- Expression Evaluation using Stack
- Longest Valid Parenthesis Problem Using Stack
- Check for Redundant Brackets using Stack
Queues
Trees
- Introduction to Trees
- Binary Trees
- Introduction to Binary Search Trees
- Introduction to AVL Trees
- Introduction to Heaps
- Introduction to B-Trees
- Introduction to Tries