Algorithms In Swift: Stacks
What's a Stack?
A stack is a simple way to temporarily store and manage data that works similarly to an array. It’s a collection of items where you can only view the current item (peek) add an item (push), or remove (pop) an item from the top.
peek:...
damianrobinson.hashnode.dev2 min read