卷別
資料結構
選擇國立中央大學 2026 · 考試 · 第 6 題
考科資料結構
Given an input sequence of 1, 2, 3 (pushed into the stack in that order), which of the following is "not possible" the order in which the elements are popped out?
- (A)3, 2, 1
- (B)1, 2, 3
- (C)2, 3, 1
- (D)3, 1, 2