Queue/Definition: Difference between revisions

Content added Content deleted
(add BQN)
(→‎{{header|BQN}}: Link to linked-list queue example in documentation)
Line 1,520: Line 1,520:
3
3
⟨ 4 ⟩</lang>
⟨ 4 ⟩</lang>

It's also possible to build a queue out of linked node objects, an approach discussed in [https://mlochbaum.github.io/BQN/doc/oop.html#mutability this section] of the BQN documentation. While much slower to traverse, this approach opens up new possibilities, such as constant time deletion and insertion at an arbitrary node, that aren't available with plain arrays.


=={{header|Bracmat}}==
=={{header|Bracmat}}==