Find Jobs
Hire Freelancers

priority queue as a 4-heap.

$10-30 USD

În desfășurare
Data postării: peste 4 ani în urmă

$10-30 USD

Plata la predare
My budget is 30 dollars Implement a priority queue as a 4-heap. Also write a driver program to test your implementation. Your driver program must provide a menu that allows the user to repeatedly perform the operations insert, findMin, deleteMin and debugPQ until they choose to quit. Although debugPQ is not part of a Priority Queue Abstract Data Type, we will add it as an additional member function that prints out the contents of the vector to help with debugging. The priority queue must be implemented as a template class. Before the user is allowed to select an operation from the menu, the heap must be built with a list of 10 items of your choosing. Note however that your code should work even if I change the list of initial items used to build the heap. Recall that for a 4-heap (starting at index 0), the children of node at index i are at indices 4i+1, 4i+2, 4i+3 and 4i+4 and the parent of node at index i is at (i-1)/4 (integer division). You must submit the following 3 files, PQ.h, [login to view URL] and driver.cpp. Please note that if the instructor were to change the data type of the objects stored on the priority queue (and any associated code in the driver program as needed) your code should still work fine.
ID-ul proiectului: 22564836

Despre proiect

5 propuneri
Proiect la distanță
Activ: 4 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
5 freelanceri plasează o ofertă medie de $31 USD pentru proiect
Avatarul utilizatorului
Hi I am an engineer and have done many c++ and c projects. You can share more details of your project in chat. Thank you
$40 USD în 7 zile
4,9 (58 recenzii)
6,1
6,1
Avatarul utilizatorului
I'm a computer science engineer at IIT BBS, Competitive coder. Finished many projects using cpp. Waiting for your call.
$25 USD în 2 zile
5,0 (8 recenzii)
3,2
3,2
Avatarul utilizatorului
Hello, ⭐⭐⭐⭐⭐ i am interested in this project , i did many jobs for tasks using c++ for data structures , so i think i am best one to do it can begin now waiting your answer on chat Regards ⭐⭐⭐⭐⭐
$30 USD în 1 zi
5,0 (11 recenzii)
3,3
3,3
Avatarul utilizatorului
hello, it's Abdelrhman Nazieh from Egypt i am interested in algorithms and data structure i think i 'm the appropriate person for this task i will do all my best to make your project great. hope you a nice day:)
$30 USD în 3 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
PhD in Software Engineering and a competitive programmer. I taught C++ and algorithms for more than 4 years.
$30 USD în 2 zile
0,0 (1 recenzie)
0,0
0,0

Despre client

Steagul UNITED STATES
Raliegh, United States
5,0
5
Membru din oct. 19, 2019

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.