Created
September 23, 2010 19:55
-
-
Save tene/594240 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You're tasked with enforcing the rule "If you are less than 21 years old, you are restricted to ordering non-alcoholic drinks." | |
You have a set of receipts which list an age and a drink order, with one or the other obscured. | |
Given the information you can see on the following receipts, which fields do you need to reveal to detect violations of the rule? | |
1 2 3 4 | |
-------------------------------------------- | |
age: | 19 | 23 | XX | XX | | |
drink:| XXXX | XXX | vodka | coke | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment