NZXT Interview Question

Implement a Queue in JavaScript without Arrays. Add a function that adds an element to the queue. Add a function that removes an element from the queue. Add a function that prints the contents of the queue.

Interview Answer

Anonymous

Aug 19, 2020

I struggled though the implementation, but we used a Linked List.