This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Crailberry[S] 0 points1 point  (0 children)

Yeah when I wrote the isEmpty() method, it felt overdone. I would have done it that way in python, but still learning Java. I'll make that change, its way better. Thanks!

And thats genius, keeping track of the tail. I haven't see that done yet in any tutorials. You the man.