Question
Online assessment. A row of seats is numbered from 1. Implement take, which marks a free seat as taken and fails if that seat is already taken. Implement first free, which returns the lowest numbered free seat, or reports that the row is full. Then the test adds a second row and asks you to search the first row before the second. Write both functions and one example of a full row.