Find Jobs
Hire Freelancers

Priority queue data structure in c++ using template class

$10-18 USD

In Progress
Posted about 5 years ago

$10-18 USD

Paid on delivery
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.
Project ID: 19255400

About the project

5 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $24 USD for this job
User Avatar
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 in 1 day
5.0 (77 reviews)
6.3
6.3
User Avatar
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. best regards.
$34 USD in 1 day
5.0 (35 reviews)
5.3
5.3
User Avatar
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 in 1 day
5.0 (1 review)
0.0
0.0
User Avatar
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,code forces contests also i studied data structure courses and i used c++ structures and algorithms to do a lot of assignments and projects like implementation of banks system and i used queue structure wit it, my grade in this course was very good. projects was done by c++ & oop :- -Implementation of scanner - software system that makes matrices calculations I’ll keep this short and we can go into more details when we chat. Thank you for your consideration and I look forward to hearing from you in due course. Have a great day! Thanks Mai Hossam
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SWEDEN
Karlskrona, Sweden
5.0
7
Payment method verified
Member since Nov 25, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.