What would be returned by the call nameListPtr-> getPosition(“Tammie”)

Given the following sequence of names added to an ADT sorted list:
nameListPtr–>insertSorted("Tammie");
nameListPtr–>insertSorted("Brenda");
nameListPtr–>insertSorted("Sarah");
nameListPtr–>insertSorted("Tom");
nameListPtr–>insertSorted("Carlos");

a. 1
b. 3
c. 4
d. 5

c. 4

Computer Science & Information Technology

You might also like to view...

In Word, the ________ enables you to change the magnification of the document or worksheet

A) Zoom slider B) Magnification element C) Zoom element D) Focus slider

Computer Science & Information Technology

Which of the following types does the IOS file system use to represent logical internal file systems for the convenience of internal functions and commands?

A) Opaque B) Network C) Disk D) Usbflash E) NVRAM

Computer Science & Information Technology