Find Jobs
Hire Freelancers

Binary serach tree comapre C++

$15-25 USD / hour

Cancelled
Posted almost 4 years ago

$15-25 USD / hour

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; }
Project ID: 25913682

About the project

6 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $18 USD/hour for this job
User Avatar
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 further details.
$20 USD in 40 days
5.0 (639 reviews)
7.3
7.3
User Avatar
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 in 2 days
5.0 (28 reviews)
4.9
4.9
User Avatar
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 in 40 days
5.0 (4 reviews)
2.2
2.2
User Avatar
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 soon as possible. We can discuss more about the project in the chat. So, I look forward to hearing from you. Thanks. Stay home, stay safe and take care.
$15 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 50 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
SOUTH LYON, United States
5.0
14
Payment method verified
Member since Oct 8, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.