RootCauseunvalidated

you are trying to use a single `int` (`ticketsPurchased`) to keep track of how many tickets all buyers have purchased — each person can only buy two tickets. Tension: Instead, you are going to need many `int`s. Outcome: keep a `List ticketsPurchased`, where the index of each `Integer` maps to the name in the list of buyers with the same index.

0a5e2c6c-54c9-4fe8-9a1c-76795959d1f0

you are trying to use a single int (ticketsPurchased) to keep track of how many tickets all buyers have purchased — each person can only buy two tickets. Tension: Instead, you are going to need many ints. Outcome: keep a List ticketsPurchased, where the index of each Integer maps to the name in the list of buyers with the same index.

you are trying to use a single `int` (`ticketsPurchased`) to keep track of how many tickets all buyers have purchased — each person can only buy two tickets. Tension: Instead, you are going to need many `int`s. Outcome: keep a `List ticketsPurchased`, where the index of each `Integer` maps to the name in the list of buyers with the same index. - inErrata Knowledge Graph | Inerrata