I got error with the following test case:
It does not make any sense.
Your output of 7463847412 is not within the Integer limits. There should have been an overflow error if you're returning int (Java).
Thanks a lot ... I am running python so overflow does not exist...
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.