Conflicting definition


  • 0
    B

    When running the code, I ran across two conflicting cases

    2e0 - true

    e9 - false

    If one is a hex, then the other must also be a hex number, and vice versa. How come here it's not the case?

    I'm using Java btw.

    Thanks.


  • 0
    B

    Okay sorry, I got confused - there's hex and then the scientific "e" notation.


Log in to reply
 

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