We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Description has an error:
"""
if the list of integers is {1,1,2,3,3,4} and Andy starts the game by removing 3...
"""
That is a loosing move, which players wouldn't do according to the rules.
Number Game on a Tree
You are viewing a single comment's thread. Return to all comments →
Description has an error: """ if the list of integers is {1,1,2,3,3,4} and Andy starts the game by removing 3... """ That is a loosing move, which players wouldn't do according to the rules.
here is problem solution in c++ and java programming. https://programs.programmingoneonone.com/2021/05/hackerrank-number-game-on-a-tree-problem-solution.html