re: Write better code: Day 1 - Highest Product VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Ended up doing this by checking if the product of current number with the previous stored two numbers is greater than the the current max. Had to...

Will you believe me if I tell you that I didn't see this comment thread until now (well after posting my fixed solution)?

Ofcourse :) Only then would you have tried solving it twice and with a different logic.

code of conduct - report abuse