• + 0 comments

    Question discription is missleading and thus the solutions I see in python, though passing, seems not completly correct. In the description:

    In each move, Nick can remove one integer from the top of either stack or stack .

    To my understanding, this means Nick can pick for a, then b and then a again. However from the examples and solutions in python, it seems that everyone are ignoring are ignoring it such possibility, and only including going first over 'a' and then 'b', but never going again back to 'a'