Non-0 constraint is not very logical

  • 0

    given 0 is equivalent to any multiple of array size in context of this problem. Moreover if there are no elements in array with values that are multiples of array size, then there are for certain non-trivial loops.

Log in to reply

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