This repository contains implementations of various algorithms and data structures in Java. It is intended as a resource for learning and reference.
This repository is a collection of algorithms and data structures implemented in Java. Each algorithm and data structure has its own folder containing the Java code and a README file explaining the implementation and usage.
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Linear Search
- Binary Search
- Depth-First Search (DFS)
- Breadth-First Search (BFS)
- Dijkstra's Algorithm
- A* Search Algorithm
- Fibonacci Sequence
- Knapsack Problem
Implementation and usage of arrays.
- Singly Linked List
- Doubly Linked List
- Circular Linked List
Implementation and usage of stacks.
- Simple Queue
- Circular Queue
- Priority Queue
- Binary Tree
- Binary Search Tree
- AVL Tree
- Red-Black Tree
- B-Tree
Implementation and usage of graphs.
- Clone the repository:
git clone https://github.com/bcExpt1123/java-alda.git
- Navigate to the project directory:
cd java-alda
Each algorithm and data structure has its own folder. Navigate to the folder of the algorithm or data structure you want to use and compile the Java file:
javac FileName.java
Run the compiled Java file:
java FileName
Contributions are welcome! Please read the contributing guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for details.