Question: Question 4: Programming 1. Write a recursive function that prints all the odd integers in a linked list in reverse order (from tail to head).

 Question 4: Programming 1. Write a recursive function that prints all

Question 4: Programming 1. Write a recursive function that prints all the odd integers in a linked list in reverse order (from tail to head). Example: If the list has the following numbers: 15 => 24 => 2 => 31, the output should be: 31 15. void PrintReverseOdd (Node *ptr) { } 2. Write a C function without recursion to search for an element (called target) in a Binary Search Tree of characters. All elements in the tree are unique (no duplicates). If found, the function replaces the target by 'F', and then returns 20. If not found, the function returns -20. int FindAndReplace (Node *root, char target) { }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!