When you are solving a problem in Java and you need to use Stack, which built in implementation do you use. I know of two in collection framework, Stack(Child class of Vector) and LinkedList.
What do you use? and Why?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.