阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立臺灣科技大學_碩士班招生試題_電子工程系:資料結構#112844
科目:研究所、轉學考(插大)-資料結構
年份:110年
排序:0

申論題內容

1. (10%) Explain how to implement two stacks in one array A[1..n] in such a way that neither stack overflows unless the total number of elements in both stacks together is n. The PUSH and POP operations should run in O(1) time.