I'm getting an ambiguous wrong answer message

  • 0

    I get this error, which doesn't make sense:
    error message

    How is 1 expected for input: 3?
    And also, my response is 1.7xxxx and not 2

Log in to reply

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