Comments on: Honest man playing card puzzle https://demo.ritambhara.in/honest-man-playing-card-puzzle/ Coding / System Design Interviews Wed, 10 Dec 2014 11:49:21 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: abhishek https://demo.ritambhara.in/honest-man-playing-card-puzzle/#comment-1881 Wed, 10 Dec 2014 11:49:21 +0000 http://www.ritambhara.in/?p=2185#comment-1881 I will ask,”the card in ur hand is smaller than 2?”…
If he says yes then its 1,if no then its 3 ,if anythng else then obviously its 2…

]]>
By: Agnivesh Adhikari https://demo.ritambhara.in/honest-man-playing-card-puzzle/#comment-1880 Thu, 13 Nov 2014 15:54:54 +0000 http://www.ritambhara.in/?p=2185#comment-1880 Its just a problem of mapping {1, 2, 3} to {Yes, No, Don’t know}. Can’t this be done in much simpler ways?
My first answer would be “If you have 1, say yes, if 2, no, else, don’t know”.
Second, “Is the number on your card lesser than 2?”

]]>