Suoritettu

Priority queue data structure in c++ using template class

I have created the project my self but it is a long time ago which i have worked with c++. I have received the three files and i have the created the PriorityQueue.h myself but there are some bugs in PriorityQueue.h, i appreciate if you could fix my implementations too. The time complexity must be O(logn) or O(logn^2) and i appreciate if you could explain your solutions via comments in every member functions and member variables.

You must implement the abstract data type (ADT) priority queue, where the element with the lowest value is the highest priority, which implements the following API:

• void enqueue(T element); - Adds an element to the priority queue.

• void dequeue(); - Removes the highest priority element from the priority queIue.

• T peek(); - Gets the highest priority element of your priority queue.

• size_t size(); - Returns the number of elements that are in the priority queue.

• bool isEmpty(); - Shows whether or not your priority is empty.

You should assume that the smaller than operator (operator <) is implemented for all types of data used in connection with priority.

Taidot: C++ -ohjelmointi, tietojärjestelmäarkkitehtuuri

Näytä lisää: project data structure project using queue stack, priority queue data structure, use queue data structure design traffic control system, c++ priority queue pair, priority queue using heap in c++, reverse priority queue c++, priority queue c++ geeksforgeeks, priority queue c++ example, priority queue iterator c++, priority queue c++ implementation, c++ priority queue compare, application of queue data structure, applications of queue data structure, binary tree data structure c, data structure c tutorial, de queue data structure, disjoint set data structure c code, graph data structure c, heap data structure c, priority queue algorithm in c

Tietoa työnantajasta:
( 1 arvostelu ) Karlskrona, Sweden

Projektin tunnus: #19255400

Myönnetty käyttäjälle:

coldflame223

Hello Employer, I am proficient in algorithm and data structures. I have been playing around those thing from the past three years. I will implement heap functionality in a recursive manner as follows- enqueue- hea Lisää

$10 USD 1 päivässä
(0 Arvostelua)
0.0

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

wizard2015

Hello, I am experienced C++ programmer, and I can fix your priority queue implementation. Please contact me if you are interested in cooperation.

$35 USD 1 päivässä
(76 arvostelua)
6.3
okzhang321

Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time. I am well experienced and skillful C and C++ programmer. I have +15 y Lisää

$50 USD 1 päivässä
(56 arvostelua)
5.4
marianakuzmich

Hi, I have rich experience of C++ programming. check my review! I have done job as same as your requirement before. I checked your requirement. I'm sure that I can easily do this project. I will do my best for you Lisää

$34 USD 1 päivässä
(7 arvostelua)
3.5
MohammedSulhi

I am expert in data structure and algorithms. i have finished C++ in sololearn An encouraged individual and dedicated worker who has a passion on learning current & new technologies to make changes for the better fu Lisää

$15 USD 10 päivässä
(0 arvostelua)
0.0
woruo

I am a new freelancer but I have millions of lines code in algorithms and data structures. I can solve your problem in one hour if you choose me.

$15 USD 1 päivässä
(1 arvostelu)
0.0
MaiHossamMahmoud

Dear Sir/ Madam, I have studied at faculty of Engineering for five years , the main computer language that i have developed by was c++ with oop and i have done many projects , assignments and contests on code forces,c Lisää

$20 USD 1 päivässä
(0 arvostelua)
0.0