Ad
  • Custom User Avatar

    So in (209917, [29917, 0, 1]), it moved '0' to far left to make the smallest number, but in (269045, [26945, 3, 0]), it moved '2' to the index of '0' to make the smallest number. I do not see how the mechanism changes by test cases :(

  • Custom User Avatar

    I am not sure what the problem exactly wants.
    This is what I console.log() -ed
    arr => two,six,five,seven,three,nine ..//.. value => three
    and it returned [Should not find 'three']

    There was also [not find element on 1st level] which I do not get at all. Does this mean I should not be looking for the value on the 1st level?

    Thanks!