Ad
  • Custom User Avatar

    Ah, I see. Sorry about that. "In place" usually means "by modifying the original object". And "original object" usually means "the object containing the data"; that data or object could be modified, but it would be modified on the same object, rather than making a new one and adding all the data there.

    Thanks for your patience.

  • Custom User Avatar

    I'm not sure what you mean by "when called without reverse". As in the example, the returned array (the original array) is reversed. The reversal should be done in-place, modifying the original array and returning it.