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

Method push

Python/queue via stack.py:10–11  ·  view source on GitHub ↗
(self,item)

Source from the content-addressed store, hash-verified

8 return len(self.list)
9
10 def push(self,item):
11 self.list.append(item)
12
13 def pop(self):
14 if len(self.list)==0:

Callers 10

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

Calls

no outgoing calls

Tested by

no test coverage detected