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

File ReverseAStackByRecursive.py

Stack/ReverseAStackByRecursive.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

StackClass · 0.90
reverseStackFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected