Ad
  • Custom User Avatar

    Issue does not seem to be present from looking at the Java tests.

  • Custom User Avatar

    I'm doing the Java version but the instructions don't say what you're supposed to do in the edge cases. What am I supposed to return if the input is "-"? The input value is a int, not a String. How is "-" even being passed as a parameter?

  • Custom User Avatar

    I'm trying to do the Java version. I have no idea what I'm supposed to do and what it supposed to be happening. Are they asking me to make the getter methods, and if not, what should I be doing?

  • Custom User Avatar

    I'm trying to do the Java version. I have no idea what I'm supposed to do and what it supposed to be happening. Are they asking me to make the getter methods, and if not, what should I be doing?

  • Custom User Avatar

    I'm not sure why I was getting an error message, but the stderr was point to the - in the ->. Not sure why.

  • Custom User Avatar

    Copied and pasted your code, it works both in Java 8 and 11.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution