MCPcopy Create free account
hub / github.com/austingebauer/go-leetcode / Push

Method Push

flatten_nested_list_iterator_341/solution.go:66–68  ·  view source on GitHub ↗
(v *ListIndex)

Source from the content-addressed store, hash-verified

64}
65
66func (s *Stack) Push(v *ListIndex) {
67 s.items = append(s.items, v)
68}
69
70func (s *Stack) Pop() *ListIndex {
71 if len(s.items) <= 0 {

Callers 2

ConstructorFunction · 0.45
NextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected