Ad
  • Custom User Avatar

    Thank you! Not sure how to make random tests but I will look into that. Also, could you clerify what you mean in the second comment. Do you mean something like -9 * -9 = 81. I am testing for that. If you mean that a negative and a positive make the largest negative product I do not test for that because this is meant to test for largest positive product. Or let me know if I am misunderstanding. Thanks!

  • Custom User Avatar

    Thanks for the feedback! I think there is a bit of confusion here. This is looking for the largest positive product. [-7,234] would result in the largest negative product. Hope this helps.