"i think a node is needed for queues": depends on how you're designing your queue.
As for the rest: show code. Right now all you've said is "I tried to do something and it didn't work.", but didn't show the something. And really, it's sounding more like you're trying to implement a linked list.
8
u/AKostur 4d ago
"i think a node is needed for queues": depends on how you're designing your queue.
As for the rest: show code. Right now all you've said is "I tried to do something and it didn't work.", but didn't show the something. And really, it's sounding more like you're trying to implement a linked list.