Open treeowl opened 4 years ago
Stacks, at least, can support a rather more efficient (in constant factors) unordered merge than append. This is just plain addition of the numerical representations. We might as well offer it.
I guess all the structures support it, but it's a bit hard to imagine anyone wanting it for a queue or deque.
Stacks, at least, can support a rather more efficient (in constant factors) unordered merge than append. This is just plain addition of the numerical representations. We might as well offer it.