Take out a piece of paper. We’ll be programming on paper.
public class LinkedList<E> implements List211<E> {
/** Holds the head of the list. */
private LinkedNode<E> head;
/** The size of the list. */
private int size;
// Your code goes here.
}Answer the following questions:
What is the Big-O of the get method?
Why do we keep track of size?
How can we make the add(E item) method more efficient?