Sha256: 362c7d424136d81e7ad888dd80b803a60f8e1ccd4564e8e51a3daf6a7a5ad109

Contents?: true

Size: 173 Bytes

Versions: 50

Compression:

Stored size: 173 Bytes

Contents

pub fn collatz(n: u64) -> Option<u64> {
    unimplemented!(
        "return Some(x) where x is the number of steps required to reach 1 starting with {}",
        n,
    )
}

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.179 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.178 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.177 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.176 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.175 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.174 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.173 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.172 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.171 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.170 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.169 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.167 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.166 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.165 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.164 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.163 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.162 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.161 tracks/rust/exercises/collatz-conjecture/src/lib.rs
trackler-2.2.1.160 tracks/rust/exercises/collatz-conjecture/src/lib.rs