The test case should add corner cases

  • 0

    dividend or divisor is 0 or 1, or either of them is a negative integer. I chose the simplest minus operation without considering them, and get my results accepted. That is VERY BAD.

Log in to reply

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