kiran.sanni
BAN USER- 4of 4 votes
AnswersQuestion: Two players A and B are playing a game. Pots of gold, each with
- kiran.sanni in United States
varying number of coins are placed in a single line. The rules of the game are:
1) Players play turn by turn.
2) On each turn a player can pick a pot of gold from either end of the line. He
gets all the gold in that pot. The next pot of gold on that end is now available
for picking.
What is the maximum number of gold can the first player get ?| Report Duplicate | Flag | PURGE
Google Intern Algorithm - -3of 3 votes
Answersa left grow binary tree. Describe as below. (Transform from A to B)
- kiran.sanni in United States
A: B:
1 1
/ \ /
2 3 2 - 3
/ \ /
4 5 4 - 5
/ \ /
6 7 6 - 7
a left grow binary tree. Describe as below. (Transform from A to B)
A: B:
1 1
/ \ /
2 3 2 - 3
/ \ /
4 5 4 - 5
/ \ /
6 7 6 - 7| Report Duplicate | Flag | PURGE
Google Intern Algorithm