阿摩線上測驗 登入

試題詳解

試卷:109年 - 109 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#106105 | 科目:中山◆電機◆資料結構

試卷資訊

試卷名稱:109年 - 109 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#106105

年份:109年

科目:中山◆電機◆資料結構

7.We use the array A as defined above to implement the stack. We want to store the first integer at index=0. Let the latest input be stored at index=top. What is the value of top for the empty stack?
(A) top=0;
(B) top=1;
(C)top=-1;
(D) top=9.
正確答案:登入後查看