Add enqueue method that simulates a singly-linked linked list
All other main stack/queue methods use the head node. Thus, there is no reason to add singly-linked simulation methods for those.
Please register or sign in to comment
All other main stack/queue methods use the head node. Thus, there is no reason to add singly-linked simulation methods for those.