An open API service indexing awesome lists of open source software.

https://github.com/arjun-regmi-chhetri/dsa-using-java

Explore Java implementations of fundamental data structures and algorithms. This repository is a resource for developers and enthusiasts looking to understand and apply common algorithms and data structures.
https://github.com/arjun-regmi-chhetri/dsa-using-java

dsa-algorithm java

Last synced: 14 days ago
JSON representation

Explore Java implementations of fundamental data structures and algorithms. This repository is a resource for developers and enthusiasts looking to understand and apply common algorithms and data structures.

Awesome Lists containing this project

README

          

# Data Structures and Algorithms in Java

This repository contains Java implementations of various data structures and algorithms.

## Files

1. **Binary Search Tree (BST)**
- [BinarySearchTree.java](BinarySearchTree.java): Contains the `BinarySearchTree` class with basic BST operations.
- [BinaryNode.java](BinaryNode.java): Represents a node in the Binary Search Tree.

2. **Singly Linked List**
- [SinglyLinkedList.java](SinglyLinkedList.java): Implementation of a singly linked list with insert, traverse, search, and delete operations.

3. **Stack**
- [Stack.java](Stack.java): Implementation of a stack using an array.

4. **Queue**
- [QueueArray.java](QueueArray.java): Implementation of a queue using an array.

5. **Sorting Algorithms**
- [SelectionSort.java](SelectionSort.java): Implementation of the selection sort algorithm.
- [InsertionSort.java](InsertionSort.java): Implementation of the insertion sort algorithm.
- [MergeSort.java](MergeSort.java): Implementation of the merge sort algorithm.
- [QuickSort.java](QuickSort.java): Implementation of the quicksort algorithm.

6. **Search Algorithms**
- [LinearSearch.java](LinearSearch.java): Implementation of linear search in an array.
- [BinarySearch.java](BinarySearch.java): Implementation of binary search in a sorted array.

## Usage

1. Clone the repository:

```bash
git clone https://github.com/Arjun-Regmi-Chhetri/DSA-using-Java.git