You are on a desert island, and all you have is a pair of dice. You know that a plane flies over the island on the 30th day of the month. Using the dice, how can you make a calendar that always tells you the day of the month? 14 AnswersI don't remember the answer, but I didn't get it right. I figured it out later, and emailed the answer to the hiring manager. Using the dice you can count to a maximum of 66 combined. When the plane flies by on the 1st month's 30th day, each day after that at the same approximate time in the day you can increase the value of the dice by 1. For example plain flies by on 30th day of 1st month. the next day you wake up and assuming plane flew by at dawn you place the side with the 1 facing up. Each dawn after that you increase to 2, 3, 4, 5, 6-- after six you would use both die, and make some indication to your self saying that 1+6= 7, 2+6=8... and so on after you reach the 4+6=10th day it would be easier to use the die to show "1""1"-> 11th day, etc. That way eventually, you can make a calendar that tells you the day of the month. Using two digits in "base 6" you can count up to 35. Typically base 6 would use digits 0 to 5, but in this case you can adjust and use 1 through 6. Show More Responses @Rikesh: How will you indicate 17, 18, 19, 20, 27, 28, 29, 30. Here is what i think... D D 6*0+1=1 6*0+2=2 6*0+3=3 .. 6*0+6=6 6*1+1=7 6*1+2=8 .. 6*1+6=12 6*2+1=13 6*2+2=14 .. 6*2+6=18 6*3+1=19 6*3+2=20 Basically 2 dice has 6 sides so for Dice 1: mark 0 1 2 4 6 8 Dice 2: mark 1 2 3 5 7 9 And those two can make up all days of the month Or you can map 1-6 with those numbers for each dice Rikesh's answer is not correct. cuz 1+6= 7. But with his implementation, you would use 1, 6 to represent 16th also. You can argue that you could use 6,1 to represent the 16th. However, I think MS wants the more "geek" way of the solution, which is one I upvoted the base 6 solution. How about... Dice 1: each pip equals 1 day: 1 pip =1 day, 2 pips = 2 days, etc. Dice 2 each pip equals 5 days: 1 pip = 5 days, 2 pips = 10 days 3 pips = 15 days etc. Die 2 is always to the left of Die 1. For days less than or equal to 5 use 1 die. When counting a day that is a multiple of 5 (days 5,10,15 etc.) count day by putting Die to 5 pips and Die 2 to the remaining number of days. You are on Desert.. ! Why don't write the count down/up number on it. and cover using the dice ? Just a Approach keeping basis of PMO PM: Analytical thinking, – it’s thinking about the parts or elements of a situation. PMO: Synthetical thinking – it’s thinking about how those parts or elements work together. Given a Tea Powder, Milk, Gas Stove and two match stick to prepare Tea in less than 60seconds. Approach: Using the two match stick keeping crossed at Right angles and done "T" Its about "what can be done to achieve goal" not "what is given to achieve the goal" Why use dice when you can use the island to help you? We can use first dice to mention the serial no. of tenure of 5 days; starting from 1 to 6. and second to mention the no. of day in the tenure. from 1 to 5. Dice 1 : Dice 2: Day No. 1 : 1 : 1 1 : 2 : 2 1 : 3 : 3 1 : 4 : 4 1 : 5 : 5 2 : 1 : 6 2 : 2 : 7 2 : 3 : 8 . . . . 5 : 3 : 28 5 : 4 : 29 5 : 5 : 30 I think this is correct ans. Please let me know. (Correction) We can use first dice to mention the serial no. of tenure of 5 days; starting from 1 to 6. and second to mention the no. of day in the tenure. from 1 to 5. Dice 1 : Dice 2: Day No. 1 : 1 : 1 1 : 2 : 2 1 : 3 : 3 1 : 4 : 4 1 : 5 : 5 2 : 1 : 6 2 : 2 : 7 2 : 3 : 8 . . . . 6 : 3 : 28 6 : 4 : 29 6 : 5 : 30 I think this is correct ans. Please let me know. It should be 6x-y!.. consider the dice to be x and y. Irrespective of the order they are placed in.. x is always the lower (or equal) dice value, so it's easy to identify x and y! Day 1: 6x1 - 5 (dice values:1,5) Day 2: 6x1 - 4 (dice values: 1, 4) Day 3: 6x1 - 3 (dice values: 1,3) Day 4: 6x1 - 2 (dice values: 1,2) Day 5: 6x1 - 1 (dice values: 1,1) Day 6: 6x2 - 6 (dice values: 2,6) . . . Show More Responses Draw numbers in the sand with the dice. |