Slug: graph-gen-01 · Paired reading: Chapter 21
Prompt
Implement a generational Arena<T> with NodeId { index, generation },
free-list reuse, insert / remove / get. After
remove(id) then insert into the recycled slot, the old id must
yield None from get (ABA defeated).