Two GAA groups want ten seats in total. Why might one group miss out?
Your GAA club has two blocks of seats, one with six seats and one with four. A group of four books first, then a group of six. You have exactly ten seats. How could your booking system still turn a group away?
Take the next booking in order and keep the group together. A block fits if it has at least as many free seats as there are people. Choose a fitting block or decline if none fits. After seating a group, update the free seats. A computer repeats these steps for the whole list.
For four people, scan from the left and stop at six. That's first fit, leaving two and four free seats. Now check both blocks. Choose the fitting block with the fewest free seats, taking the leftmost on a tie. That's best fit. It chooses the four-seat block, leaving six and zero.
Reset the blocks to six and four free seats. This time the first booking is for three people. Count one check each time an algorithm inspects a block. How many checks does each rule make? Pick the pair.
Go back to the bookings of four, then six. First fit checks blocks with two and four free seats. Neither fits six people, so it declines and the counts stay the same. Best fit checks blocks with six and zero free seats. It seats the group of six, leaving both blocks full.
First fit makes one check for the first booking and two for the second, so three checks. Best fit makes two each time, so four checks. Now add the free seats across the two blocks. First fit leaves six seats unused, while best fit leaves none.
Try two fresh runs with blocks of eight and five free seats. Each rule gets a group of five, then a group of eight. Trace both bookings in order. Pick the option that gives the right check count and number of seats left.
A shorter description doesn't tell you which rule does a better job. Judge the rules by what the organiser needs. On these bookings, only first fit meets a hard limit of three checks. If the organiser instead needs both groups seated and allows four checks, only best fit works.
If you're asked to evaluate both solutions and justify your choice, start with what the organiser requires. Say both groups must be seated. Best fit leaves no unused seats, while first fit leaves six. Choose best fit because it seats both groups, and acknowledge that it takes four checks instead of three.