Map HashMap ring binary search tree tail HashSet peekMin queue priority queue stack LinkedList binary tree TreeMap Set TreeSet iterator listIterator index element root top pop data structures head node TreeNode ListNode array ArrayList