Binary serach tree comapre C++

Cancelado Publicado hace 3 años Pagado a la entrega
Cancelado

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;

}

Programación en C++ Objective C

Nº del proyecto: #25913682

Sobre el proyecto

6 propuestas Proyecto remoto Activo hace 3 años

6 freelancers están ofertando un promedio de $18 / hora por este trabajo

it2051229

Hi there, I do C++ programming and have good command in data structures and algorithms. I went through your code and I would like to fix this if given the opportunity. Let me know if you are interested so I can have fu Más

$20 USD / hora
(639 comentarios)
7.3
mbilal4

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

$25 USD / hora
(28 comentarios)
4.9
HelmiDaqdouqi

Hi. I am an expert in the field of C++ and algorithms. Looking forward to discussing more details via chat. Nice regards. Helmi.

$15 USD / hora
(4 comentarios)
2.2
asifmahmudpro

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

$15 USD / hora
(0 comentarios)
0.0
Karteik5

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?.

$16 USD / hora
(0 comentarios)
0.0