There was an error while loading. Please reload this page.
Here is the code:
let mut a = Vec::from_iter(1..=3).repeat(10); let l = a.len(); grail_sort(&mut a, l);
thread 'main' panicked at 'index out of bounds: the len is 30 but the index is 31
Here is the code:
thread 'main' panicked at 'index out of bounds: the len is 30 but the index is 31