MCPcopy Index your code
hub / github.com/HuberTRoy/leetCode / peek

Method peek

Stack/ImplementQueueUsingStack.py:60–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return pop_result
59
60 def peek(self):
61
62 return self.stack_two.get_top()
63
64
65queue = Queue()

Callers

nothing calls this directly

Calls 1

get_topMethod · 0.80

Tested by

no test coverage detected