/*Visit only nodes with keys*/
if(root.alpha != '\0'){
}
as the title above says. How would I do this better? I'm trying to check if the character (root.alpha) is not within that spectrum. Thanks.
An unrelated mistake on my part that led me here, but I forgot that '
and "
aren't interchangeable in Java like they are in some other languages. '
is for character literals and "
is for string literals.
So enclosing any sequence longer than one character in '
will lead to this compile-time error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With