Write the following recursive functions once for an array and once for simply linked list (as member functions) 1. to print all odd elements in backwards order. 2. to count number of values that are below 10. 3. to find maximum value.  Run your functions on the following array  2,7,12,5,0,3,44,1,26 and the following list 4,1,10,3,0,5,24,7,40 6 functions 3 for simply linked list and 3 for array

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Data Structure Using C++ (Recursion) Need C++ Code ::: 

DON'T USE STACK PLEASE JUST Recursion

This is a one question >>> 6 function in one code ....... don't use cin please 

Without using stack just Recursion please 

Write the following recursive functions once for an array and once for simply linked list (as member functions)
1. to print all odd elements in backwards order.
2. to count number of values that are below 10.
3. to find maximum value. 

Run your functions on the following array  2,7,12,5,0,3,44,1,26
and the following list 4,1,10,3,0,5,24,7,40

6 functions 3 for simply linked list and 3 for array 

like picture need please 

array !!!!!
print all odd elements in backwards order in the array : 1 3 5 7
print the count number of values that are below 10 in the array 6
print the maximum value in the array : 44
linked list !!!!!
print all odd elements in backwards order in the linked list : 75 3 1
print the count number of values that are below 10 in the linked list : 6
print the maximum value in the linked list : 40
Press any key to continue . . .
Transcribed Image Text:array !!!!! print all odd elements in backwards order in the array : 1 3 5 7 print the count number of values that are below 10 in the array 6 print the maximum value in the array : 44 linked list !!!!! print all odd elements in backwards order in the linked list : 75 3 1 print the count number of values that are below 10 in the linked list : 6 print the maximum value in the linked list : 40 Press any key to continue . . .
Expert Solution
steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY