Customer Engineer Interview Questions

2,724 customer engineer interview questions shared by candidates

Two people in a game, player scores by claiming nodes in binary tree. The player who eventually owns more nodes wins the game. Player A and B each claims a node at first. After the first round, a player will only be able to claim a node adjacent to any node owned by himself. A tree node is adjacent to its parent, left right and right child. A node owned cannot be re-claimed. End game when all nodes are owned. If player A gets the first claim at node N, find whether it is possible for player B to win. If yes, find out which node player B should claim at his first move.
avatar

Customer Software Engineer

Interviewed at Microsoft

4
Mar 29, 2021

Two people in a game, player scores by claiming nodes in binary tree. The player who eventually owns more nodes wins the game. Player A and B each claims a node at first. After the first round, a player will only be able to claim a node adjacent to any node owned by himself. A tree node is adjacent to its parent, left right and right child. A node owned cannot be re-claimed. End game when all nodes are owned. If player A gets the first claim at node N, find whether it is possible for player B to win. If yes, find out which node player B should claim at his first move.

Viewing 1821 - 1830 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 2,724 interview questions and reports from Customer engineer interviews. Prepare for your interview. Get hired. Love your job.