MCPcopy Create free account
hub / github.com/careercup/ctci / Length

Method Length

go/chapter02/stack/stack.go:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (s *Stack) Length() int {
28 return s.size
29}
30
31func (s *Stack) IsEmpty() bool {
32 return s.size == 0

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected