Ad
  • Default User Avatar

    Those are both correct, make sure you're looking at the cubes for the second array.

    For that second test case you end up getting back 110 for the first array & 405 for the second.