Play for coin puzzle
1,245.3K Views
There are ‘n’ coins in a line. (Suppose n is even). Two players take turns to take a coin from one of the ends of the line until there are no more coins left. The player with the larger amount of money wins.
Assume that you go first, describe an algorithm to compute the maximum amount of money you can win.
Your Answer
More puzzles to try-
what appears to be spokes moving around with your eyes?
When you move your eyes in a circular motion around this image, you will see what appears to be spokes ...Read More »High or Low
Each of the clues below refers to a five-letter word that contains either ‘HI’ or ‘LO’ within it. Can you ...Read More »Mathematical Symbol
Replace the \’X\’ with any mathematical symbol to make the expression equal to 111. 18 X 12 X 2 X ...Read More »Paradox Brain Teaser
The following sentence is false. The preceding sentence is true. Are these two sentences true or false?Read More »Mrs. Holmes and her pen theft investigation puzzle
Mrs. Holmes is a primary school teacher and One of her students took her Pen. Mrs. Holmes has narrowed the ...Read More »Crossing Bridge Interview Puzzle
Four people are on this side of the bridge. the bridge will be destroyed by a bomb in 17 minutes. ...Read More »Reducing nearby enemies
You are given an irreflexive symmetric (but not necessarily transitive) “enemies” relation on a set of people. In other words, ...Read More »How did he know this?
A man leaves his house in the morning and kisses his wife. On his way home from work he sees ...Read More »Pull the Socks Puzzle
My sock drawer has 26 blue socks, 13 pink socks, 33 green socks, and 12 red socks, how many socks ...Read More »Feed me and I live, give me drink and I die riddle
Feed me and I live, give me drink and I die. What am I?Read More »Smartest guy
Your in a room with three monkeys, one has a stick, one has a banana, and one has apple. Who ...Read More »How many legs does this elephant have?
How many legs does this elephant have?Read More »Parking Space Puzzle
Can you find out the number of the parking space in which the car is parked?Read More »Can be swallowed both way
What can be swallowed, but can also swallow you ?Read More »Driver date of birth puzzle
You are driving a car from New York to Washington DC. Car no is DZ-2817. The distance is 226.0 miles. ...Read More »power to rule
I am a ten letters word The first four letters have the power to rule, Next, four-letter can be eaten. ...Read More »Coke Riddle
Jacob has 25 dollars, he spends 20 dollars on a Coke. What does he have?Read More »How many did you count?
This is a simple one. You just have to count the number of F in the given sentence. Finished Files ...Read More »Changing color balls puzzle
Kevin, Charles, Larry and Alex are in a room that’s about 110 feet long. In front of them are 5 ...Read More »Seat in a car
You have five kids and you have to get them all into a car. John and Johny are twins but ...Read More »
Accenture Interview PuzzlesAdobe Interview PuzzlesAge RiddleAkbar Birbal PuzzlesAlgorithm PuzzlesAlphabet riddleAmazon Interview PuzzlesAnalytical MathematicsAptitude PuzzleBank PuzzlesBetting PuzzlesBrain TeasersCalendar PuzzlesCards PuzzlesChess Board PuzzleChess PuzzlesChristmas Puzzlecipher PuzzleCivil Services PuzzleClock time puzzleCognizant Interview PuzzlesCoins PuzzleComputational PuzzleconundrumCoronavirus PuzzleCoupondunia Interview PuzzleCritical Thinking Puzzledata analyticsData Structure Interview QuestionsDecode PuzzleDetective PuzzlesDice PuzzleDictionary Riddlesdifficult riddleEasy Math puzzlesEasy puzzlesEinstein puzzleEnglish RiddleFamily Tree Puzzlefamous puzzleFill in the blanks riddlesFinding Killer RiddlesFlipkart interview puzzlesFunny RiddlesGeneral KnowledgeGeographical PuzzleGoogle Code Jam 2014Google Interview PuzzlesGRE PuzzleHard Puzzle