tag:blogger.com,1999:blog-4462491887225244834.post1729426199455155586..comments2024-03-06T17:30:59.937-08:00Comments on Random Sync: Puzzler Solution: Prisoners and Hats and a JungleGaurav Guptahttp://www.blogger.com/profile/10174101381436236624noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4462491887225244834.post-44886839801994938242012-01-18T14:30:44.493-08:002012-01-18T14:30:44.493-08:00Please elaborate. The solution above is the implem...Please elaborate. The solution above is the implementation of actual solution as described on their website and provides atleast 29 correct guesses, out of 30. Here's the complete code if you're interested in trying it yourself: https://gist.github.com/1636207#file_prisoner_puzzler.java<br /><br />The output is something like this:<br />Series: B W B W B B B W W B W W W W B B W B B W W B B B W B W B W W <br />Strat: W W B W B B B W W B W W W W B B W B B W W B B B W B W B W W <br />Correct Guesses=29Gaurav Guptahttps://www.blogger.com/profile/10174101381436236624noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-2435952698550533172012-01-18T13:30:50.204-08:002012-01-18T13:30:50.204-08:00your strategy seems to have gone haywire... not a ...your strategy seems to have gone haywire... not a solution at all if you ask me but yes even i don't know the solution.. :)Anonymousnoreply@blogger.com