Data Structures

Completado Publicado Nov 28, 2014 Pagado a la entrega
Completado Pagado a la entrega

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.

Programación en C++

Nº del proyecto: #6798972

Sobre el proyecto

10 propuestas Proyecto remoto Activo Nov 29, 2014

Adjudicado a:

kandamunlabs

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 en 1 día
(15 comentarios)
4.9

10 freelancers están ofertando un promedio de $83 por este trabajo

nani01029x

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 Más

$100 USD en 1 día
(27 comentarios)
4.4
billinhit

A proposal has not yet been provided

$55 USD en 3 días
(7 comentarios)
3.4
vickkey7

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 en 4 días
(3 comentarios)
2.4
josse8

hello sir how r you? thank you for viewing my profile . please check our company freelancer profile https://www.freelancer.com/u/josse8.html we already developed this type of project so we can take your project. why Más

$134 USD en 5 días
(6 comentarios)
0.1
vinhnl

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. Más

$35 USD en 1 día
(0 comentarios)
0.0
netmax3

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 Más

$155 USD en 3 días
(0 comentarios)
0.0
techhelp56935

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 Más

$98 USD en 3 días
(0 comentarios)
0.0
nukalasathish

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

$100 USD en 2 días
(0 comentarios)
0.0
needoCh

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 en 3 días
(0 comentarios)
0.0
vvadimov

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 en 1 día
(0 comentarios)
0.0