Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ isEmpty
Method
isEmpty
Python/stack using linked list.py:24–28 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
22
return
'\n'
.join(values)
23
24
def
isEmpty(self):
25
if
self.LinkedList.head == None:
26
return
True
27
else
:
28
return
False
29
30
def
push(self,value):
31
node=Node(value)
Callers
6
pop
Method · 0.95
peek
Method · 0.95
infix2Prefix
Method · 0.95
isBalanced
Method · 0.95
checkBalanced
Method · 0.95
infixToPostFix
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected