Skip to content

Instantly share code, notes, and snippets.

@AahanSingh
Last active Jul 14, 2021
Embed
What would you like to do?
LinkedListStack.go
// In the repo, the linkedlist package holds the implementation
// of the linked list data structure and its operations.
// In Go, modules add packages are referenced via their path.
import "github.com/aahansingh/data-structures-with-go/linkedlist"
type stack struct {
top *linkedlist.Node
stackSize int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment