1.

Records R1, R2, R3,.. RNwith keys K1, K2, K3,.. KNare said to be h-ordered, if ________(a) Ki

Answer»

Correct option is (d) Ki <= Ki+hfor 1<= i <= N-h

Best EXPLANATION: Records are h-orderedif every hth ELEMENT (STARTING anywhere) yields a sorted array. Therefore, given records with keys K1, K2, K3,.. KNare said to be h-ordered, if Ki <= Ki+hfor 1<= i <= N-h.



Discussion

No Comment Found

Related InterviewSolutions