MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / pop

Method pop

Python/queue via stack.py:13–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 self.list.append(item)
12
13 def pop(self):
14 if len(self.list)==0:
15 return None
16 return self.list.po()
17
18class QueueviaStack():
19 def __init__(self):

Callers 9

balanced_parenthesesFunction · 0.95
infix2PrefixMethod · 0.95
isBalancedMethod · 0.95
mergeMethod · 0.95
checkBalancedMethod · 0.95
infixToPostFixMethod · 0.95
reverseWordsMethod · 0.95
dequeueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected