Welcome to the Data Structures repository! This repository contains various data structures implemented in Java. The goal of this project is to provide a comprehensive collection of data structures that are commonly used in computer science and software development.
This repository includes implementations of fundamental data structures in Java. Each data structure is implemented in its own Java class with relevant methods and functionality.
To get started with using the data structures in this repository, follow these steps:
-
Clone the Repository:
git clone https://github.com/MBA2022/Data-Structures.git cd Data-Structures -
Compile the Java Files:
javac -d bin src/*.java -
Run the Examples:
java -cp bin Main
Below is a list of data structures available in this repository:
- Linked List
- Stack
- Queue
- Binary Tree
- Binary Search Tree
- AVL Tree
- Heap
- Huffman Code
Each data structure has its own Java class within the src directory. You can find example usage and tests for each data structure in the corresponding files.
Contributions are welcome! If you would like to contribute to this repository, please follow these steps:
-
Fork the Repository: Click the "Fork" button at the top right corner of this page to create a copy of this repository in your GitHub account.
-
Clone Your Fork:
git clone https://github.com/<your-username>/Data-Structures.git cd Data-Structures
-
Create a New Branch:
git checkout -b feature/your-feature-name
-
Make Your Changes: Implement your changes and commit them with a descriptive message.
-
Push Your Changes:
git push origin feature/your-feature-name
-
Create a Pull Request: Open a pull request from your forked repository to the main repository.
Happy coding!