Binary serach tree comapre C++
$15-25 USD / hora
I have written the code for binary search tree in XCODE in C++, the algorithm is fine, but interface may be wrong -it gives me error no viable conversion from BST to compare::node. Can you fix it. I have defined a public class within BST and called it within main
class BST{
public:
bool isame(node*a, node *b){
if (a == NULL && b == NULL) return true;
else if (a == NULL || b == NULL) return false;
else if ((a->left == b->left) && (a->right == b->right)) return true;
else return false;
}
};
int main(int argc, const char * argv[]) {
compare mybst;
BST t;
[login to view URL](10);
[login to view URL](25);
[login to view URL](95);
[login to view URL](23);
[login to view URL](50);
[login to view URL]();
BST q;
[login to view URL](12);
[login to view URL](27);
[login to view URL](95);
[login to view URL](3);
[login to view URL](50);
[login to view URL]();
cout<<[login to view URL](t,q)<<endl;
return 0;
}
Nº del proyecto: #25913682
Sobre el proyecto
6 freelancers están ofertando un promedio de $18 / hora por este trabajo
Hello, I am expert C++ programmer having 5+ years experience. I am ready to fix this error. I will do professional work. Please contact me. Thank you. Regards, Bilal
Hi. I am an expert in the field of C++ and algorithms. Looking forward to discussing more details via chat. Nice regards. Helmi.
Hello, I understand the description of your project. I am extremely interested in working on this project. I can do it perfectly for you. I have all the skills I need for your job. I will do this project for you as so Más
I'm new to the arena of freelancer but expert in C,C++,DSA You can count on me for this project and others too,so we can discuss the project details further on chat and I am waiting for you?.