Find Jobs
Hire Freelancers

Recursive Linked List

$15-20 USD

已关闭
已发布超过 21 年前

$15-20 USD

货到付款
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
项目 ID: 2885933

关于此项目

19提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
19威客以平均价$12 USD来参与此工作竞价
用户头像
See private message.
$12.75 USD 在14天之内
4.9 (175条评论)
5.9
5.9
用户头像
See private message.
$4.25 USD 在14天之内
4.7 (54条评论)
5.3
5.3
用户头像
See private message.
$17 USD 在14天之内
4.8 (35条评论)
4.9
4.9
用户头像
See private message.
$17 USD 在14天之内
4.7 (41条评论)
4.7
4.7
用户头像
See private message.
$17 USD 在14天之内
4.9 (79条评论)
4.7
4.7
用户头像
See private message.
$17 USD 在14天之内
4.6 (60条评论)
4.5
4.5
用户头像
See private message.
$12.75 USD 在14天之内
4.8 (34条评论)
4.4
4.4
用户头像
See private message.
$6.80 USD 在14天之内
4.2 (111条评论)
4.4
4.4
用户头像
See private message.
$12.75 USD 在14天之内
5.0 (16条评论)
3.9
3.9
用户头像
See private message.
$12.75 USD 在14天之内
4.9 (18条评论)
3.9
3.9
用户头像
See private message.
$10.20 USD 在14天之内
4.7 (17条评论)
3.0
3.0
用户头像
See private message.
$12.75 USD 在14天之内
3.7 (5条评论)
2.9
2.9
用户头像
See private message.
$17 USD 在14天之内
5.0 (18条评论)
2.4
2.4
用户头像
See private message.
$5.95 USD 在14天之内
5.0 (4条评论)
1.4
1.4
用户头像
See private message.
$5.95 USD 在14天之内
5.0 (1条评论)
0.0
0.0
用户头像
See private message.
$12.75 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$12.75 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$17 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$6.80 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

VATICAN CITY STATE的国旗
Vatican City State
0.0
0
会员自11月 20, 2002起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。