下列数字入栈排序是7,8,C,P,38,39,全部入栈后再出栈,出栈后的顺序应该是()。
2023-08-04
B.7,8,P,C,38,39
C.39,38,P,C,8,7
D.39,38,P,C,7,8
参考答案:C
栈是先进后出的,队列是先进先出的。全部人栈后再出栈,出栈后的顺序是39,38,P,C,8,7。
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_6.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_100.jpg)
2023-08-04
从业资格教师从业资格
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_14.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_96.jpg)
2023-08-04
从业资格教师从业资格
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_39.jpg)
2023-08-04
从业资格教师从业资格
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_52.jpg)
缺“仁者爱人”“美德即知识”分别是古代东西方两位思想家的主张,他们是( )。
2023-08-04
从业资格教师从业资格
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_72.jpg)
2023-08-04
从业资格教师从业资格
热门标签