试题详情

对于n个元素的关键码序列{k1,k2,…,Kn},当且仅当满足下列关系时称其为堆。 以下关键码序列中,( )不是堆。

A12, 25, 22, 53, 65, 60, 30

B12, 25, 22, 30, 65,60, 53

C65, 60,25, 22, 12, 53, 30

D65,60, 25, 30, 53, 12,22