The code segment below uses the procedure IsFound (list, item), which returns true if item appears in list and returns false otherwise. The list resultList is initially empty.
- FOR EACH item IN inputList1
- {
- IF (IsFound (inputList2, item)
- {
- APPEND (resultList, item)
- }
- }
Which of the following best describes the contents of resultList after the code segment is executed?