Skip to content

Instantly share code, notes, and snippets.

@AahanSingh
Last active July 14, 2021 16:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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