3 ms·
But... that's not a tree -- there's still no way to discover all leaves. That's just a thread/singly linked list.
by Nav_Panel 6y ago
But... that's not a tree -- there's still no way to discover all leaves. That's just a thread/singly linked list.
- anaphor 6y agoYes, I forgot to mention that. You need to know the IDs of all the leaf nodes of the thread or else you can only partially reconstruct it.