Exam 2 Review Fall2007:Write insertAfter
Post your questions here.
Back to Exam Review 2
public void insertAfterNext(LLNode node)
{
if(this.getNext() != null){
this.getNext().insertAfter(node);
}
else
{
this.insertAfter(node);
}
}
Can you do it without using insertAfter?
Link to this Page