Glossary: Data Structures and Algorithms in Go
Stack
Also written: stacks
A last-in, first-out pile where you add and remove at the top only, like cups. Useful for undo and bracket checking.
Glossary: Data Structures and Algorithms in Go
Also written: stacks
A last-in, first-out pile where you add and remove at the top only, like cups. Useful for undo and bracket checking.