algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Tree can become linear instead of binary

Open codophobia opened this issue 8 years ago • 0 comments

According to your code, if all the distance are equal(in build function), the tree will become linear and time complexity will increase.

codophobia avatar May 10 '17 13:05 codophobia