update ReverseLinkedListII.java class