title: Why is ArrayDeque better than LinkedList
body: <p>I am trying to to understand <strong>why Java's ArrayDeque is better than Java's LinkedList</strong> as they both implement Deque interface. </p>
  
  <p>I hardly see someone using ArrayDeque in their code. If someone sheds more light into how ArrayDeque is implemented, it would be helpful. </p>
  
  <p>If I understand it, I will be more confident using it. I could not clearly understand the JDK implementation as to the way it manages head and tail references.</p>