Page 1 of 1

What is a time complexity for finding the total length of all string on all edges of a tree?

Posted: Wed Jul 13, 2022 7:43 pm
by answerhappygod
a) Ɵ (n)
b) Ɵ (n!)
c) Ɵ (1)
d) O (n2)