Page 1 of 1

The time complexity of calculating the sum of all leaf nodes in an n-order binary tree is __________

Posted: Thu Jul 14, 2022 9:05 am
by answerhappygod
a) O(n2)
b) O(n+1)
c) O(1)
d) O(n)