Is that relevant to keep 0 in the test cases?


  • 0
    G

    I am wondering if it is relevant to keep 0 in the test cases? Indeed, it is clearly stated in the problem description that n in greater than 1, then testing 0 as an input is kind of "off topic", isn't it?


Log in to reply
 

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