单选题

已知元素(8,25,14,87,51,90,6,19,20),问这些元素以怎样的顺序进入栈,才能使出栈的顺序满足:8在51前面;90在87的后面;20在14的后面;25在6的前面;19在90的后面。()(题意是全部进栈,再依次出栈)

A20,6,8,51,90,25,14,19,87

B51,6,19,20,14,8,87,90,25

C19,20,90,7,6,25,51,14,87

D6,25,51,8,20,19,90,87,14

E25,6,8,51,87,90,19,14,20

正确答案

来源:www.examk.com

答案解析