Embercode
✕
Binary TreesQuick quiz

Complete trees in arrays

7 questions. Covers Complete, full and perfect trees in arrays.

Questions 1 to 5 of 7

  1. 1. In a complete tree stored in a 0-based array, which slots hold the two children of slot 5?
  2. 2. A complete tree has 13 nodes. What is its height?
  3. 3. Which statement about perfect trees is true?
  4. 4. Which statements about these three shapes are true? Pick all that apply.

    Pick every answer that is true.

  5. 5. For a 0-based complete array, which index formulas are correct? Pick all that apply.

    Pick every answer that is true.

5 question(s) left on this page.