Home > Back-end >  About the establishment of a binary tree
About the establishment of a binary tree

Time:09-16

Data structure course assignments will not set up as shown in figure

I build code and error
Only int structure data and left children, right child two Pointers

CodePudding user response:

The pre + 1 is wrong, why the pre + 1?

CodePudding user response:

The
reference 1/f, Simple, Soft reply:
pre + 1 is wrong, why the pre + 1?

First order next, in the order is on the left is left child of the root

CodePudding user response:

You no exports of recursive functions

CodePudding user response:

reference 3 floor truth is right or wrong response:
your recursive functions is not for export

Some he finally jumped out of that will become 0 n

CodePudding user response:

silly monkey reference 4 floor response:
Quote: refer to the third floor truth is right or wrong response:
your recursive functions is not for export

Some he finally jumped out of that will become 0 n

Jump out to what is good? Your tree is not the correct return ah, because jump out to only return a null
  • Related