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

https://github.com/andrewnester/algorithms-ii

Algorithms written on Java
https://github.com/andrewnester/algorithms-ii

algorithm directed-graphs edge-weighted-graphs graph java

Last synced: 4 months ago
JSON representation

Algorithms written on Java

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/andrewnester/algorithms-ii.svg?branch=master)](https://travis-ci.org/andrewnester/algorithms-ii) [![Coverage Status](https://coveralls.io/repos/andrewnester/algorithms-ii/badge.svg?branch=master&service=github)](https://coveralls.io/github/andrewnester/algorithms-ii?branch=master)

# Algorithms
Algorithms written on Java

Based on http://algs4.cs.princeton.edu/home/

### Structures
* Graph
* Directed Graph
* Edge-weighted graphs
* Index Priority Queue

### Algorithms

#### Basic
* Union Find

#### Graphs Algorithms

* Graphs (common)
* Deep-first search
* Breadth-first search

* Directed Graphs
* Cycle detection algorithm (for edge-weighted graphs too)
* Deep-first order
* Topological sort
* Kosaraju - Sharir algorithm
* Dijkstra algorithm
* Bellmann - Ford algorithm

* Undirected Graphs
* Connected components (based on Deep-first search)
* Kruskal Algorithm for Minimum Spanning Tree
* Prim's algorithm (both lazy and eager implementations)