Same space counts twice or not?

  • 0

    The problem says "The distance is defined by the number of empty spaces the ball go through".

    If the ball goes through the same space twice, does that count as 1 or as 2?

  • 0
    1. So basically it counts how many steps the ball takes to reach the hole or certain ceil/space.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.