Ad
  • Custom User Avatar
  • Custom User Avatar

    Now I see your intention, which would have made an interesting and challenging SQL practice. To do that, I wonder if you can expand the question to some more generic cases where there's more prompt/solutoin pairs. (There might be a peformance implication?)
    For example, for a product P and a sum S, check in table nums to find all pairs that satisify P and S, etc.

    Otherwise simply returning 13 and 4 seems to be the easy way to go.

  • Default User Avatar

    Hey sorry for the delay I haven't been on here in a while. I see what you're talking about when I click run sample tests but when I edit the kata I don't see the tdd code that is in the sample tests. I don't think I ever put that code in there to validate this.

    When I click validate solution on the edit kata screen it works and it's using the original code for validating it. I tried republishing the kata hoping my validation code would be there but the invalid validation code still remains. Any ideas?

  • Custom User Avatar

    That's not an issue, that's a question.

  • Custom User Avatar

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

  • Custom User Avatar

    Hi

    I just click button attempt and get the result from the image.
    I am sorry but I haven't error with the undefined table or something else, that's why I can only say: "this problem with a server".

    Additional:
    Link to image: https://prnt.sc/gfr3gh

    Regards