Data Structures

I use Dev C++ as my compiler. This must be done in C++ language and ONLY the commented areas are to be modified. There are three problems but not very much code. Unfortunately I have a strict budget of $100. Attached are the two programs given by the instructor. There are comments saying where to place the code. Thanks

Write functions

set<int> set_union(set<int> a, set<int> b)

set<int> intersection(set<int> a, set<int> b)

that compute the set union and intersection of the sets a and b. (Dont name the first function union, that is a reserved word in C++.)

To test, de ne test A to be this set A = {1; 2; 6; 7; 4; 10; 9} and B to be this set B = {1; 4; 6; 11; 12; 15}. Using the functions to defined, take the union and intersection of sets A and B, and then output each.

2. In the BinarySearchTree class, modify the erase member function so that a node with two children is replaced by the largest child of the left subtree. You only need to give the erase function.

3. Implement a member function that uses preorder traversal to print the elements in a binary search tree. Test it on binary tree that inserts this values in order: 10,5,8,13,14,23,67,1,2,7,16.

Habilidades: Programação C++

Veja mais: uses of data structures, uses of binary, use of data structures, use of binary search tree, union c programming, tree programming problems, tree in order, tree in data structures, tree data structures in c, tree data structures, tree binary search, structures data, set union, set data structures, search structures, search in binary tree, search data structures, search binary tree, search binary search tree, programs on data structures, programs in c language, programming structures, programming data structures in c, programming and data structures, problems in data structures

Acerca do Empregador:
( 2 comentários ) Victorville, United States

ID do Projeto: #6798972

Concedido a:


Hello Genny, I have done a project for you before. Your new task is very easy - I can do it in no time.

$64 USD em 1 dia
(15 Comentários)

10 freelancers estão ofertando em média $83 para esse trabalho


Dear sir, I have done many projects in C++ for student around the world and got some positive feedback from clients. You can check my profile for more information. Let me help you. I'm ready to get started right now Mais

$100 USD em 1 dia
(27 Comentários)

A proposal has not yet been provided

$55 USD in 3 dias
(7 Comentários)

Hi I have 2+ years experience working with similar skills, I can get the task done for you, so if you are interested in a collaboration please contact me..... With warm regards

$215 USD in 4 dias
(3 Comentários)

hello sir how r you? thank you for viewing my profile . please check our company freelancer profile we already developed this type of project so we can take your project. why Mais

$134 USD in 5 dias
(6 Comentários)

Hi, I'm a expert in this field (OOP, C/C++, algorithsm). I can complete this work in 1 day. But this is the first time a bid on this web. Please help me to increase my review. Thank a lot. Nice to work with you. Mais

$35 USD em 1 dia
(0 Comentários)

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor Mais

$155 USD in 3 dias
(0 Comentários)

Hello I am Dinh. I completed it . you can see it here [url removed, login to view] . hope to work with you in this project and future :)

$30 USD in 0 dias
(0 Comentários)

Hi sir, I am proficient in C and C++ and having over 10 years of experience. I can execute this task and can deliver prfessional grade code for you. Please check my earlier work/ review in my profile page. I'll not Mais

$98 USD in 3 dias
(0 Comentários)

I am pursuing my masters in mathematics with computer science and already completed my typewriting test higher

$100 USD in 2 dias
(0 Comentários)

hi, I am software engineer. I have done a lot of programming in C++. I can do this task easily and deliver in time.

$94 USD in 3 dias
(0 Comentários)

Hi, I'm an experienced C++ programmer and I'm familiar with data structures, like sets or BST. I can easily do this job for you.

$40 USD em 1 dia
(0 Comentários)