• + 3 comments

    The instructions for this challenge say that n is the number of "non-zero stones." But based on the sample cases described, n includes the zero stone.