Update RemoveNodeFromEndList.java

Submission Result: Runtime Error

Last executed input:	{1}, 1

L 26