LinkedStack Quiz

public interface Stack211<E> {
  boolean empty();
  E peek();
  E pop();
  E push(E item);
}

public class LinkedStack<E> implements Stack211<E> {
  private LinkedNode<E> top;
  ...
  public E peek() {
    // your code here.
  }

  public boolean empty() {
    // your code here.
  }
  ...
}

Time remaining: