Snap interview question

Implement a special queue containing a linked list as its inner data structure.

Interview Answer

Anonymous

May 10, 2022

Finish with O(1) Time Complexity, and O(n) Space Complexity in both get and pop.