0
haloween candy code challange ,
i have few questions about this challange. if i understand it right if we visit 4 house in result we have 1candy, 1brush, 2$ .but how we can know their order like if 1st house gives candy 2nd gives brush 3rd and 4th gives $ but how we gonna know what 5th or 6th ... house gonna give? if 5th house gives $ , it changes whole thing? shouldnt they needed to be more clear about it. or am i thinking it over detailed
1 Answer
+ 3
Lalala you are overthinking the problem. The solution is a simple mathematical calculation, then rounded up to a whole number. Presume everything is in random order with a random drawing from the bag. The "Explanation" box gives a good hint about the calculation.