A linked list on the stack to avoid heap allocations in recursive algorithms
use Substack;
/// Walk a disjoint set and find the representative of an element, or return None if the
/// set contains a loop
const map: & = &;
assert_eq!;
assert_eq!;
A linked list on the stack to avoid heap allocations in recursive algorithms
use Substack;
/// Walk a disjoint set and find the representative of an element, or return None if the
/// set contains a loop
const map: & = &;
assert_eq!;
assert_eq!;