Page 1 of 1

Puzzle of this week - 2

Posted: Thu Feb 20, 2014 8:34 pm
by zprogrammer
Put four coins on a table,in a row , all tails up like this

[center] T T T T [/center]

How many moves it needs to make all of them as Heads like

[center] H H H H [/center]

The conditions are

1.Turn any 2 coins and it is considered as 1 move
2.When you do the next move you need to ensure you turn 1 coin which was turned in the previous move
3.You always need to turn two coins over and over until you reach all heads and you satisfy condition 1 & 2 too

Good luck :)

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 1:35 am
by dick scherrer
3?

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 6:38 pm
by zprogrammer
The correct answer is 3.Dick you were right...

Also please watch out for Puzzle of this week....

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 8:40 pm
by Anuj Dhawan
Share the logic, please. :)

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 9:14 pm
by zprogrammer
Here is a logic

Code: Select all

========================================================
=INITIAL       =    T    =    T    =    T    =    T    =
========================================================
=MOVE 1        =    T    =    H    =    T    =    H    =
========================================================
=MOVE 2        =    T    =    T    =    H    =    H    =
========================================================
=MOVE 3        =    H    =    H    =    H    =    H    =
========================================================

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 9:26 pm
by zprogrammer
I don't know how you all feel about this puzzle - But I took it from a third grade maths book ;)

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 11:25 pm
by dick scherrer
I've enjoyed these kinds of puzzles for a Very long time :)

d

Re: Puzzle of this week - 2

Posted: Thu Feb 27, 2014 11:43 pm
by zprogrammer
I have more in store

Watchout every thursday :-)

Also pls check this weeks puzzle

Re: Puzzle of this week - 2

Posted: Fri Feb 28, 2014 1:17 am
by Anuj Dhawan
Pandora-Box wrote:I don't know how you all feel about this puzzle - But I took it from a third grade maths book ;)
Oh no! I was already suffering with the title "Software Engineer" and now this .. :D

Re: Puzzle of this week - 2

Posted: Fri Feb 28, 2014 1:33 am
by zprogrammer
Seriously there are puzzles I felt very competitive