This repository contains Java implementations of various data structures and algorithms.
-
Binary Search Tree (BST)
- BinarySearchTree.java: Contains the
BinarySearchTree
class with basic BST operations. - BinaryNode.java: Represents a node in the Binary Search Tree.
- BinarySearchTree.java: Contains the
-
Singly Linked List
- SinglyLinkedList.java: Implementation of a singly linked list with insert, traverse, search, and delete operations.
-
Stack
- Stack.java: Implementation of a stack using an array.
-
Queue
- QueueArray.java: Implementation of a queue using an array.
-
Sorting Algorithms
- SelectionSort.java: Implementation of the selection sort algorithm.
- InsertionSort.java: Implementation of the insertion sort algorithm.
- MergeSort.java: Implementation of the merge sort algorithm.
- QuickSort.java: Implementation of the quicksort algorithm.
-
Search Algorithms
- LinearSearch.java: Implementation of linear search in an array.
- BinarySearch.java: Implementation of binary search in a sorted array.
-
Clone the repository:
git clone https://github.com/Arjun-Regmi-Chhetri/DSA-using-Java.git