class Queue extend Stack remove(): any;}
any
const queue = new Queue([1, 2, 3, 4, 5]);console.log(queue.remove())) //[2, 3, 4, 5]
O(n)
removes and returns the first item in the queue