You are viewing a single comment's thread. Return to all comments →
This will throw a NullPointerException when given head is null. So you might want to handle that.
Seems like cookies are disabled on this browser, please enable them to open this website
Print in Reverse
You are viewing a single comment's thread. Return to all comments →
This will throw a NullPointerException when given head is null. So you might want to handle that.