Find Jobs
Hire Freelancers

Recursive Linked List

$15-20 USD

Closed
Posted over 21 years ago

$15-20 USD

Paid on delivery
Goals: To learn how to traverse a linked list recursively Overview: You will write a program (not a class) that will do several functions on a linked list recursively. You will also include the code you wrote first quarter so that you can see things side by side. What to do: Find your linked list code from first quarter and modify to implement the following functions: PrintListIterative PrintListRecursive InsertListIterative (make sure the list is ordered) InsertListRecursive (make sure the list is ordered) PrintListBackwardIterative PrintListBackwardRecursive You can use a simple struct with a single item of type int and a pointer to next. Use the following main function to demonstrate that all of the functions work. Make sure you test the insert function fully by inserting items at the front and back of the list. int main() { ptrType theList1; ptrType theList2; ReadItems(theList1); ReadItems(theList2); char ans = 'y'; int num = 0; while (num != -999) { PrintListIterative(theList1); cout << endl << endl; PrintListRecursive(theList2); cout << endl << endl; PrintListBackwardIterative(theList1); cout << endl << endl; PrintListBackwardRecursive(theList2); cout << endl << endl; cout << "enter num to insert (or -999 to end) "; cin >> num; InsertListRecursive(theList2,num); InsertListIterative(theList1,num); } } Do not use any global variables. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Coder retains all rights except for my personal use ## Platform C++ Windows XP
Project ID: 2885933

About the project

19 proposals
Remote project
Active 21 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
19 freelancers are bidding on average $12 USD for this job
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (175 reviews)
5.9
5.9
User Avatar
See private message.
$4.25 USD in 14 days
4.7 (54 reviews)
5.3
5.3
User Avatar
See private message.
$17 USD in 14 days
4.8 (35 reviews)
4.9
4.9
User Avatar
See private message.
$17 USD in 14 days
4.7 (41 reviews)
4.7
4.7
User Avatar
See private message.
$17 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$17 USD in 14 days
4.6 (60 reviews)
4.5
4.5
User Avatar
See private message.
$12.75 USD in 14 days
4.8 (34 reviews)
4.4
4.4
User Avatar
See private message.
$6.80 USD in 14 days
4.2 (111 reviews)
4.4
4.4
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (16 reviews)
3.9
3.9
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (18 reviews)
3.9
3.9
User Avatar
See private message.
$10.20 USD in 14 days
4.7 (17 reviews)
3.0
3.0
User Avatar
See private message.
$12.75 USD in 14 days
3.7 (5 reviews)
2.9
2.9
User Avatar
See private message.
$17 USD in 14 days
5.0 (18 reviews)
2.4
2.4
User Avatar
See private message.
$5.95 USD in 14 days
5.0 (4 reviews)
1.4
1.4
User Avatar
See private message.
$5.95 USD in 14 days
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$6.80 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of VATICAN CITY STATE
Vatican City State
0.0
0
Member since Nov 20, 2002

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.