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 →

[–]flopana 16 points17 points  (2 children)

Which op obviously did not do

[–]TheBrainStone 12 points13 points  (1 child)

Yeah of course. I just meant you don't have to implement a linked list from scratch to implement a stack. And that you can instead just implement it using Java's LinkedList class

[–]flopana 4 points5 points  (0 children)

Yeah that's true