Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acm-clan/algorithm-stone
/ empty
Method
empty
animations/src/algo_stack.py:38–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
36
print(
"stack pop size:"
, len(self.datas))
37
38
def
empty(self):
39
return
len(self.datas) == 0
40
41
def
top(self):
42
if
self.empty():
Callers
4
construct
Method · 0.95
top
Method · 0.95
top_data
Method · 0.95
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected