true be bad there? And you're comparing
==? That's just wrong. Then you'll get
false also when you shouldn't, for example here:
Double a = 0.0; Double b = 0.0; System.out.println(a == b);
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.