Documentation
¶
Overview ¶
Package stacks offers various utilities for handling and manipulating stack data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Peek ¶
Peek returns the top element of the stack without removing it. If the stack is empty, it panics like accessing an index out of range.
Types ¶
Click to show internal directories.
Click to hide internal directories.