Should stacks be made from arrays or linked list java? -
I have to write a stack for the class and when I understand the concept of how a heap works, I did not tell Was they made using an array or a linked list or something else? How does the most heaps form?
More specifically, look at Aroundack is a solid class implementation Stack concept This class has used the most efficient methods Has implemented the stack. Please refer to the implementation of class for details of various methods.
public e pollFirst () {...} and
public Zero addFirst (ee) < / Code>
Comments
Post a Comment