Welcome to MindCipher, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.

sincerekamal

Comments 4

Birthday Problem (Classic)

confusing... :(

context
No if() Only abs()

sure it would b wrong...but i tried something...

int res=(a-b)>0?a:b;

it too doesn't have if()

context
Prisoners and hats

Both the question and solution is badly worded.. :(

context
Odd Pills

Can you explain me the solution in details ??

context