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

  • google app store apple app store

    • 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