Puzzle of this week - 2
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Puzzle of this week - 2
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
[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
zprogrammer
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Puzzle of this week - 2
The correct answer is 3.Dick you were right...
Also please watch out for Puzzle of this week....
Also please watch out for Puzzle of this week....
zprogrammer
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Puzzle of this week - 2
Share the logic, please.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Puzzle of this week - 2
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 =
========================================================
zprogrammer
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Puzzle of this week - 2
I don't know how you all feel about this puzzle - But I took it from a third grade maths book
zprogrammer
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Puzzle of this week - 2
I have more in store
Watchout every thursday :-)
Also pls check this weeks puzzle
Watchout every thursday :-)
Also pls check this weeks puzzle
zprogrammer
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Puzzle of this week - 2
Oh no! I was already suffering with the title "Software Engineer" and now this ..Pandora-Box wrote:I don't know how you all feel about this puzzle - But I took it from a third grade maths book
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute