이런망할이진검색트리 #include "binarytree.h" Node_Ptr BinaryTree::treeSearch(Node_Ptr t, int x){ if((t == NULL)|| (t->key == x)) return t; if(xkey) return treeSearch(t->left, x); treeSearch(t->right, x); } void BinaryTree::getData(int *input, int n){ for(int i=0;i 더보기 이전 1 ··· 135 136 137 138 139 140 141 ··· 151 다음