title: What is the advantage of arrays over linked-lists when implementing stacks and queues
body: <p>Why might we want to use an array to implement a stack and a queue, when it could be done with linked-list?
  I just learned to implement stacks and queues using linked list so naturally using arrays doesn't make sense to me as of now, more specifically we could benefit <code>O(1)</code> <strong>push</strong> and <strong>pop</strong> just manipulating the <strong>head</strong> pointer, and without having to worry about the size of an array, unless it get's too big.</p>