Question: Consider the implementation of orderedLinkedList class, which statement is correct about the following member function: template > bool orderedLinkedList : mystery(const Type& x ) const

Consider the implementation of orderedLinkedList class, which statement is correct about the following member function: template > bool orderedLinkedList : mystery(const Type\& x ) const \{ bool y= false; nodeType info >=x ) y= true; else current = current > link; if (y) y= (current->info ==x ); . return y; ) Your answer: The function mystery deletes the first item in the list The function mystery searches for the item x in the list The function mystery inserts the item x into the correct order in the list The function mystery deletes the item x from the list The function mystery inserts the item x into the end of the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
