📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    âš¡ Month End Offer - Flat 52% Off On All Courses! Enroll Now âš¡
    00:00:00 AM Left

    Question

    Which heap property is

    correct?
    A Left child < Right child Correct Answer Incorrect Answer
    B Parent ≥ Children (Max Heap) Correct Answer Incorrect Answer
    C Parent ≤ Children (Min Heap) Correct Answer Incorrect Answer
    D Both b & c depending on heap type Correct Answer Incorrect Answer
    E None Correct Answer Incorrect Answer

    Solution

    Max Heap → parent ≥ children, Min Heap → parent ≤ children.

    Practice Next
    ask-question