Ad
  • Custom User Avatar

    If you have two different numbers, both numbers cannot be smallest at the same time.

    This problem in description allows ambiguous answers.
    If it said that i have to be smaller than j whenever it's possible, then it would be OK.

  • Default User Avatar

    You must have i and j smallest so with your example the good answer is only [19, 0, 1].