https://github.com/mmabiaa/data-structure-and-algorithms-java
Data structures and algorithms in java
https://github.com/mmabiaa/data-structure-and-algorithms-java
algorithms algorithms-and-data-structures data data-structure-and-algorithm data-structures data-structures-algorithms data-structures-and-algorithms datastructures dsa dsa-learning-series dsa-practice java
Last synced: 3 months ago
JSON representation
Data structures and algorithms in java
- Host: GitHub
- URL: https://github.com/mmabiaa/data-structure-and-algorithms-java
- Owner: Mmabiaa
- License: cc0-1.0
- Created: 2024-11-02T01:55:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-15T21:26:57.000Z (about 1 year ago)
- Last Synced: 2025-01-15T22:01:40.802Z (about 1 year ago)
- Topics: algorithms, algorithms-and-data-structures, data, data-structure-and-algorithm, data-structures, data-structures-algorithms, data-structures-and-algorithms, datastructures, dsa, dsa-learning-series, dsa-practice, java
- Language: Java
- Homepage:
- Size: 41 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# Data Structures and Algorithms in Java
Welcome to the **Data Structures and Algorithms in Java** repository! This project contains a collection of fundamental data structures and algorithms implemented in Java. It serves as a valuable resource for students, educators, and developers looking to understand and utilize these concepts effectively.
## Table of Contents
- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Data Structures](#data-structures)
- [Algorithms](#algorithms)
- [Contributing](#contributing)
- [License](#license)
## Features
- Implementations of common data structures such as Linked Lists and Stacks.
- Sorting algorithms including Bubble Sort and Selection Sort.
- Searching algorithms such as Linear Search and Binary Search.
- Comprehensive documentation for each data structure and algorithm.
## Getting Started
To get started with this project, follow these steps:
### Prerequisites
Ensure you have the following installed on your machine:
- Java Development Kit (JDK) 8 or higher
- Git
### Cloning the Repository
Clone this repository to your local machine using the following command:
git clone https://github.com/yourusername/data-structures-and-algorithms-java.git
cd data-structures-and-algorithms-java/src/main/java
text
## Usage
To compile and run the Java files:
1. Navigate to the `src/main/java` directory.
2. Compile the Java files:
javac *.java
text
3. Run your desired class:
java ClassName
text
For example, to run the `SortingAlgorithms` class, use:
java algorithms.SortingAlgorithms
text
## Data Structures
This repository includes implementations of the following data structures:
- **Linked List**: A linear data structure where elements are stored in nodes linked together.
- **Stack**: A linear data structure that follows the Last In First Out (LIFO) principle.
Refer to the [data_structures.md](docs/data_structures.md) for detailed documentation.
## Algorithms
The following algorithms are implemented:
- **Sorting Algorithms**:
- Bubble Sort
- Selection Sort
- **Searching Algorithms**:
- Linear Search
- Binary Search
Refer to the [algorithms.md](docs/algorithms.md) for detailed documentation.
## Contributing
We welcome contributions! If you would like to contribute to this project, please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature or bug fix:
`git checkout -b feature-name`
3. Make your changes and commit them:
`git commit -m "Add new feature"`
4. Push your changes to your forked repository:
`git push origin feature-name`
5. Create a pull request from your branch to the main repository.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
Thank you for checking out this repository! We hope you find it useful for learning about data structures and algorithms in Java.