Ad
  • Default User Avatar

    Uuuuggghhh, FINALLY figured it out. It was just because I was returning "Not Applicable" instead of "Not applicable" (needed a lower-case 'a'). That was a tad frustrating :/ My solution worked fine after that. I didn't really consider that I was returning the wrong string because I figured the test case would have said 'Expected: "Not applicable" but was: "Not Applicable"'... :(

  • Default User Avatar

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

  • Default User Avatar

    For some reason I am failing test cases Five and Seven when trying to submit in Java. All it says is "expected:but was:"...so I have no idea what it actually expected and what it received, which makes it pretty hard to debug :( It is my understanding that there should be no case where the expected output would be nothing at all (empty string or null).

    That being the case, does this mean my code failed the test due to some runtime error?

  • Default User Avatar

    I have to agree with SithFire here. It specifically says when you hover over the 'Best Practices' button: "Best Practice solutions tend to be a good balance of performance, readability and maintainability."

    It does sounds like you are only focusing on performance in your comment.