+ 2
Circular linked list
Can you push or pop an item on a circularlinked list?
3 Respuestas
+ 3
The closest you could do is insert and remove. The implementation should be similar to inserting or removing nodes with a linked list at any arbitrary position.
push and pop are operation names typically used for stacks or dynamic arrays but insert and remove are what you want.
+ 2
Josh Greig Thank you 🙏