資料結構›Ch3 堆疊與佇列第 11 題/共 28 題
11. Stack、Queue、Pseudocode判讀
#DS-03-011易StackQueuePseudocode判讀
題組題幹(本題:(b),共 2 小題)點擊展開
There is a large enough array with indices and which are initialized by 0, and functions and are defined as follows. Array and indices and can only be accessed in the functions and .
:
:
- return
If functions and are changed as following:
:
:
- return
Which data structure is operated by those functions?
📄 台大110
▤完整推導請見《WH 資工筆記 · 資料結構》Ch3 堆疊與佇列