Post

In reference to the Joke. I don’t think it was an issue in the joke. I think it is assuming that the decrement of the wishes remaining happens after the wish is granted. So the wish sets it to 0. Then the genie subtracts 1 due to granting a wish causing the underflow.