Skip to content

Instantly share code, notes, and snippets.

View hexjelly's full-sized avatar

Roger Andersen hexjelly

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hexjelly on github.
  • I am hexjelly (https://keybase.io/hexjelly) on keybase.
  • I have a public key ASAK5i2ucpSc3buIS-CIlLBohMf1_pPhZo6Gp3bWIEzNLgo

To claim this, I am signing this object:

use std::str;
use std::collections::HashSet;
use permutohedron::Heap;
fn main() {
let original_data = b"abcdefghi".to_vec();
let mut data = original_data.clone();
let heap = Heap::new(&mut data);