Skip to content

Commit

Permalink
stackll feature
Browse files Browse the repository at this point in the history
  • Loading branch information
joselws committed Oct 6, 2023
1 parent bff12b9 commit b0d83bc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 189 deletions.
11 changes: 11 additions & 0 deletions stack/stack.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package stacks

// Implementation of the Stack interface.
type Stack[T comparable] interface {
IsFull() bool
IsEmpty() bool
Len() int
Push(value T) bool
Pop() (T, error)
PeekNext() (T, error)
}
47 changes: 0 additions & 47 deletions stack/stack/stack.go

This file was deleted.

47 changes: 0 additions & 47 deletions stack/stack/stack_test.go

This file was deleted.

48 changes: 0 additions & 48 deletions stack/stackarr/stackarr.go

This file was deleted.

47 changes: 0 additions & 47 deletions stack/stackarr/stackarr_test.go

This file was deleted.

0 comments on commit b0d83bc

Please sign in to comment.