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

https://github.com/vishesh-pandey/dsa-java

Data Structures and Algorithms in Java
https://github.com/vishesh-pandey/dsa-java

bst data-structures-and-algorithms dsa graph java linkedlist queue searching sorting stack tree

Last synced: 3 months ago
JSON representation

Data Structures and Algorithms in Java

Awesome Lists containing this project

README

        

# dsa-java

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

## Data Structures

* Collections
* List
* [ArrayList.java](src/data_structures/collections/list/ArrayList.java)
* [LinkedList.java](src/data_structures/collections/list/LinkedList.java)
* [Vector.java](src/data_structures/collections/list/Vector.java)
* [Stack.java](src/data_structures/collections/list/Stack.java)
* Set
* [HashSet.java](src/data_structures/collections/set/HashSet.java)
* Linkedhashset.java
* Treeset.java
* Queue
* [PriorityQueue.java](src/data_structures/collections/queue/PriorityQueue.java)
* LinkedList.java
* Deque.java
* Trees
* [GenericTree.java](src/data_structures/trees/GenericTree.java)
* [BinaryTree.java](src/data_structures/trees/BinaryTree.java)
* [BinarySearchTree.java](src/data_structures/trees/BinarySearchTree.java)
* Graphs
* [Graph.java](src/data_structures/graphs/Graph.java)

## Algorithms

* Search
* [LinearSearch.java](src/algorithms/search/LinearSearch.java)
* [BinarySearch.java](src/algorithms/search/BinarySearch.java)
* Sort
* [BubbleSort.java](src/algorithms/sort/BubbleSort.java)
* [SelectionSort.java](src/algorithms/sort/SelectionSort.java)
* [InsertionSort.java](src/algorithms/sort/InsertionSort.java)
* Non-comparison-based sorting
* [CountSort.java](src/algorithms/sort/CountSort.java)
* [RadixSort.java](src/algorithms/sort/RadixSort.java)
* Divide and Conquer
* [MergeSort.java](src/algorithms/divide_and_conquer/MergeSort.java)
* [QuickSort.java](src/algorithms/divide_and_conquer/QuickSort.java)

## How to Use

To use this project, clone the repository and import it into your IDE. Once the project is imported, you can run the code by clicking the "Run" button.

## Contributing

If you would like to contribute to this project, please fork the repository and make your changes. Once you have made your changes, please submit a pull request.