Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
aa:lab:14 [2021/01/22 11:07]
pdmatei
aa:lab:14 [2021/01/24 15:10] (current)
roxana_elena.stiuca fixed number of nodes in complete binary tree
Line 16: Line 16:
 1. Merging (using the strategy from ''​Mergesort''​) two sorted lists produces a sorted list. 1. Merging (using the strategy from ''​Mergesort''​) two sorted lists produces a sorted list.
  
-2. A complete binary tree always has $math[2^{height(t)-1}] nodes.+2. A complete binary tree always has $math[2^{height(t)}-1] nodes.