MCPcopy
hub / github.com/HuberTRoy/leetCode / ImplementQueueUsingStack.py

File ImplementQueueUsingStack.py

Stack/ImplementQueueUsingStack.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2使用栈来实现队列。
3队列是一个先进先出的数据结构,栈则是一个先进后出的数据结构。
4

Callers

nothing calls this directly

Calls 3

QueueClass · 0.85
pushMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected