Back to search
Create a generic class named Stack using array, within the Stack class, write constructor, boolean pop() deletes the element, boolean push(E e) pushes the element, T peek() returns the element, boolean isEmpty(): check whether the stack is empty, boolean isFull() check whether the stack is full, void ensureCapacity() doubles the stack size.
Stars
1
Forks
0
Watchers
1
Open Issues
0
Overall repository health assessment
No language data available
No package.json found
This might not be a Node.js project
2
commits