I have a sore throat and a severe headache. I have four tablets with me that are identical to each other and they do not have any cover on them. There is no way I can identify which tablet serves what purpose. The only thing that I know is that two of these four tablets are for the throat and the remaining two are for the headache. To treat my condition, I must take 1 of each. What will I do now?
If you had an infinite supply of water and 5-quart and 3-quart pails, how would you measure exactly 4 quarts? What is the least number of steps you need?