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
a) O(n2)
b) O(n+1)
c) O(1)
d) O(n)
b) O(n+1)
c) O(1)
d) O(n)
Accurate answers. Every time.
https://answerhappy.com/