Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/donnemartin/interactive-coding-challenges
/ Node
Class
Node
stacks_queues/stack/stack.py:1–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
Node(object):
2
3
def
__init__(self, data, next=None):
4
self.data = data
5
self.next = next
6
7
8
class
Stack(object):
Callers
2
push
Method · 0.70
test_end_to_end
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_end_to_end
Method · 0.56