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.
- Host: GitHub
- URL: https://github.com/arjun-regmi-chhetri/dsa-using-java
- Owner: Arjun-Regmi-Chhetri
- Created: 2024-01-16T16:11:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T15:44:16.000Z (over 2 years ago)
- Last Synced: 2024-01-29T18:55:07.098Z (over 2 years ago)
- Topics: dsa-algorithm, java
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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