Skip to content

Instantly share code, notes, and snippets.

View jerryguo255's full-sized avatar

JerryG jerryguo255

View GitHub Profile
@jerryguo255
jerryguo255 / EdmondsKarp.cs
Created September 1, 2019 23:23 — forked from Eyas/EdmondsKarp.cs
Edmonds Karp in C#
using System;
using System.Collections.Generic;
namespace Algorithms
{
/// Edmonds Karp MaxFlow Algorithm
/// based on en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm
public class EdmondsKarp {
private int n = 0;