Heaps 1 Introduction and Tree levels

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 13

  • @shaynaor0
    @shaynaor0 6 років тому +1

    Level
    The level of a node is defined as: 1 + the number of edges between the node and the root.
    Height of node
    The height of a node is the number of edges on the longest path between that node and a leaf.
    Height of tree
    The height of a tree is the height of its root node.

  • @aguiremedia
    @aguiremedia 4 роки тому +3

    How are they filming this? is he writing backwards?

  • @mydou
    @mydou Рік тому

    Why he doesn’t consider about equal element in the hap?

  • @ashishahmed9777
    @ashishahmed9777 5 років тому +2

    Isn't height 3, 2 , 1 ? Since height of a node is the number of edges on the longest path between that node and a leaf
    stackoverflow.com/a/2603707/11319317

    • @clapperfool
      @clapperfool 4 роки тому

      i know what you mean but he means the subtree, the first subtree is only the root so the height is 0 cuz it has no leafs

  • @bara7979
    @bara7979 2 роки тому

    Thank you

  • @zanzuu1249
    @zanzuu1249 7 років тому +2

    thanks man, appreciate it!

  • @carlblomqvist
    @carlblomqvist 5 років тому +4

    If you're gonna "edit out" the drawing of the tree, don't make it 10 seconds long.

    • @Jazoopi
      @Jazoopi 4 роки тому +18

      Dont you dare talk to the man whos saving us from failing Com Sci like that

    • @carlitos4505
      @carlitos4505 4 роки тому +1

      Beggars can't be choosers