A new ice cream parlor has 4 flavors: Vanilla, Chocolate, Strawberry, and Butterscotch. They want to give 4 customers (Alice, Bob, Carol, and David) free samples of their ice creams to get feedback under the following constraints:
For example, here is one way they could achieve this:
Alice | Bob | Carol | David | |
Vanilla | ✔️ | ✔️ | ||
Chocolate | ✔️ | ✔️ | ||
Strawberry | ✔️ | ✔️ | ||
Butterscotch | ✔️ | ✔️ |
But what if the parlor came up with 7 flavors and 7 customers? Suppose they wanted
Would it still be possible?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here is a solution :