go-datastructures
go-datastructures copied to clipboard
RM-23161 Implemented LL based Stack & tests
Hi,
I saw the lack of a proper stack implementation in your repository, so I made one according to your guidelines & based on your other data structure implementations.
My implementation is a Linked-list based stack with O(1) overhead for Push/Pop operations. Only downside of this technique is space efficiency. But since you can make a stack of pointers, its OK.
Hope it will help!
Raven
Number of Findings: 0
@Spriithy Would you mind addressing @brianshannan-wf 's question?