得到這個有競爭力的問題:隊列溢出條件
Which of the following data structure may give overflow error, even though the current number of elements in it is less than its size?
a. Stack
b. Circular queue
c. Simple queue
d. None of the above
我想谷歌的答案正確的解釋不過幾個來源標註爲(c)和(B)作爲我感到困惑甚至更多的答案。什麼是解釋和正確答案? 謝謝。
我猜也一樣。謝了哥們。 – 2014-09-18 19:18:25
不客氣。這是一個奇怪的問題,因爲它可能會令人困惑,所以不會真正判斷某人。 – nem035 2014-09-18 19:22:32
你是完全正確的! – 2014-09-18 19:27:50