设有初始为空的栈S,入栈序列是f,e,d,c,b,a,出栈序列是d,e,a,b,c,f,则需要为S分配的空间大小至少是
A.2
B.3
C.4
D.5
正确答案是C
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/431535.html
上一篇:【概括大意】Wignall calculated the "killing efficiency" for these volcanoes by comparing the proportion of life they killed off with the volume of lava that they produced. He found that size for size, older eruptions were at least 10 times as effective at
下一篇:我国最后一部封建法典是