searching for a number inside a tree

后端 未结 0 531
我在风中等你
我在风中等你 2020-12-30 05:17
Tree* Is_Exisiting_Number(Tree *root,int number,bool found) {

    if(!root || found)
    return root;

if (root->value == number)
    found = true;

else {
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题