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

19 Aug 2020

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