单项选择题

对树中的一个结点,在先根序列中序号为 pre(x),在后根序列中序号为 post(x),若树中 x 是结点 y 的祖先,下列条件中正确的是______。

A.pre(x)< pre(y)和 post(x)< post(y)
B.pre(x)< pre(y)和 post(x)> post(y)
C.pre(x)> pre(y)和 post(x)< post(y)
D.pre(x)> pre(y)和 post(x)> post(y)