Which operator is used to compare the values to find min and max?

a) <
b) >
c) <<
d) >>

1 thought on “ Which operator is used to compare the values to find min and max?”

  1. a
    Explanation: Less than(<) operator is sufficient to compare any two elements in heap and construct respective min or max heap accordingly.

Leave a Comment