Why the test cases for python also have this overflow limitation?

  • 1

    Python has arbitrary precision integers so there is no true fixed maximum (limited by memory). People have to hard code this overflow limitation if they want their code to be accepted! Is it against the purpose of this website?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.