A collection of common data structures implemented in Java, including:
- ArrayList
- Linked List
- Single Linked List
- Doubly Linked List
- Circular Single Linked List
- Circular Doubly Linked List
- Stack
- Queue
- Set
- Binary Search Tree
Search and Sort Algorithms
-Bubble Sort Selection Sort Merge Sort Insertion Sort Quick Sort Searching Algorithms Linear Search Binary Search
Sorting and Searching Algorithms This repository contains implementation of various sorting and searching algorithms in Python.
- Bubble Sort
- Selection Sort
- Merge Sort
- Insertion Sort
- Quick Sort
- Counting Sort
- Linear Search
- Binary Search
- Clone the repository
- Import the project into your favorite Java IDE
- Explore and run the examples to understand the implementation of each data structure
A dynamic data structure that can store an unlimited number of elements, implemented as a resizable array.
A linear structure where elements point to the next/previous element, offering constant-time insertions/deletions.
A last-in-first-out (LIFO) data structure with constant-time access, insertions, and deletions.
A first-in-first-out (FIFO) data structure with constant-time access, insertions, and deletions.
A collection of unique elements, with operations for adding, removing, and checking for membership.
A tree structure where each node has a value that is greater than all the values in its left sub-tree and less than all the values in its right sub-tree.
- Types of Traversals:
- In-Order
- Pre-Order
- Post-Order
- Level Order
- Depth Order