Question: Use recurion in c++ to finish RECURION! void normalizeBigNum(odPtr&tmpPtr) // Task: Remove leading zeroes from a BigNum represented by a linked list. I/ Pre: tmpPtr

Use recurion in c++ to finish RECURION!
 Use recurion in c++ to finish RECURION! void normalizeBigNum(odPtr&tmpPtr) // Task:

void normalizeBigNum(odPtr&tmpPtr) // Task: Remove leading zeroes from a BigNum represented by a linked list. I/ Pre: tmpPtr points to the first node of a list, or is nullptr if the 1 list is empty /I Post: all nodes at the end of the list which have a zero have been removed // Note 1: as discussed in lecture, a BigNum stores the digits of the number in reverse order, with the ones digit at the front of the list. We are deleteing leading zeroes, so they will appear at the end of the list 0 /1 Note 2: The parameter tmpPtr is passed by reference, so any changes to it will affect the pointer in the caller

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!