Im currently working on trying to understand Lists, Stacks, and Queues in C++. Im reviewing for my test and came across a question asking to "efficiently implement a queue class using a singly linked list, with no header or tail nodes."
Im kind of stumped, does anyone know how to do this?
Hint: Queues are often implemented using circular buffers. How would you create a circle with a singly linked list?