Change problem statement to hold numbers of range 'n' instead of 1 to n

  • 0

    Instead of saying 1<= a[i] <= n, we could say min(array)=x and max(array) <= x+n maybe, just adding little complexity to the problem??

Log in to reply

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