Our problem is that we cannot tell which invoices belong to which vendors from this file. To solve this
problem with a linked list, we add a pointer field to every record. In this field, we store the address of
some other related record. For example, we place in VENDOR AA’s link field the address of the first in-
voice belonging to it. This is RRN7, which is Invoice 110. Then, we make Invoice 110 point to the next
invoice belonging to VENDOR AA, in this case RRN3. This slot holds Invoice 118. To indicate that there
are no more children in the chain, we insert a 0 in the link field for RRN3.