title: Difference between arraylist and linkedList
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist">When to use LinkedList&lt;&gt; over ArrayList&lt;&gt;?</a><br>
    <a href="https://stackoverflow.com/questions/393556/when-to-use-a-linked-list-over-an-array-array-list">When to use a linked list over an array/array list?</a>  </p>
  </blockquote>
  
  
  
  <p>When should I use arrayList and when should I go for LinkedList?</p>
  
  <p>When should I use <code>TreeSet</code>, <code>LinkedHashSet</code> and <code>HashSet</code>?</p>