Commit 22a132bd authored by Fokion Zervoudakis's avatar Fokion Zervoudakis

Generify Floyd's algorithm.

parent fa74be44
......@@ -76,8 +76,8 @@ class SLList<T> {
static Node floyd(Node N) {
Node T, H;
static <T> Node<T> floyd(Node<T> N) {
Node<T> T, H;
try {
T =;
H =;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment