Ad
  • Default User Avatar

    Hi!

    Your code is indeed correct to reverse an array but it needs to be slightly more efficient. Your code times out because the array to get reversed has a length of 100000 and it gets reversed 23500 times.