Find Jobs
Hire Freelancers

Implement simple data structure in C++ - 29/04/2018 17:53 EDT

$10-30 USD

Completed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
Hello, I need two simple linkedlist data structures implemented in C++. Here are specifications for both. These must be implemented as classes, not structs. 1) Create a doubly connected linkedlist class. Each node should store two pointers, called next and prev. The functions to include for this linkedlist are: -Insertion − Adds an element at the beginning of the list. -Deletion − Deletes an element at the beginning of the list. -Insert Last − Adds an element at the end of the list. -Delete Last − Deletes an element from the end of the list. -Insert After − Adds an element after an item of the list. -Delete − Deletes an element from the list using the key Encapsulate the class such that a user does not have access to nodes (The nodes should not be accessible from a linkedlist object). Create an iterator for this linkedlist (Should iterate from head to tail). 2) Create a priority_linkedlist class. Data of each node becomes priority of that node. There should be only one insert function (push) that inserts the item based on its priority. The highest priority item is the head of the list. The pop function removes the highest priority item and return its value. The top function is the same as pop but does not remove the item. No iterator for this linkedlist. Both linkedlist classes should include all the specifications and work correctly and safe. The classes should be separated into two different .cpp/.h files ([login to view URL] and [login to view URL]). I would like this to be completed within the next few hours if possible. Thanks
Project ID: 16826905

About the project

4 proposals
Remote project
Active 6 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
Awarded to:
User Avatar
I already have both these implemented in c++ as my semester assignment. You can check it on TeamViewer and after that you can award me project. Moreover I will also teach you the code. I also have many data structures algorithms implemented in c++ like BST, stack, queue. I can show you those too. Waiting for reply.
$35 USD in 1 day
5.0 (5 reviews)
3.3
3.3
4 freelancers are bidding on average $36 USD for this job
User Avatar
i can do it for you professionaly in one day
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
New York, United States
5.0
14
Payment method verified
Member since Feb 27, 2017

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.