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:
( 7 arvostelua ) Karlskrona, Sweden

Projektin tunnus: #19255400

5 freelanceria on tarjonnut keskimäärin $24 tähän työhön


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ä
(77 arvostelua)

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ä
(35 arvostelua)

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ä
(8 arvostelua)

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)

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)