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.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.