n < 2^31, But there is a test case "n=3100000000"


Log in to reply
 

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