diff --git a/datastructure/stacklink.go b/datastructure/stacklink.go index 221c83b..1ef0128 100644 --- a/datastructure/stacklink.go +++ b/datastructure/stacklink.go @@ -5,7 +5,7 @@ import ( "fmt" ) -// StackLink is a linear table, implemented with slice +// StackArray implements stack with link list type StackLink[T any] struct { top *StackNode[T] length int