Ad
  • Custom User Avatar

    This is true in the language that you attempted it in (C++), but in most languages, this is an incredibly simple task. It may not have been the best idea to translate this to C++, but I think it's probably better to have the translation than not have it. In any case, this isn't really actionable as kata ranks cannot be changed. Even the C++ version of this kata I think is at most a 7kyu if you know the "easy" way to do it.

  • Custom User Avatar

    This isn't 8 kyu

  • Custom User Avatar

    I took the lack of information for the input as part of the challenge.
    Use different console.logs to try to work out what the input is.

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    very bad kata

  • Custom User Avatar

    Main problem I do not see what falls this test. I see only problem, it do not show me 's', if i return 's' I so not see what my function do. I return 's' and return all 'false'. I do it. but for it need very much time. decition have ony one string, but you do not see it, if you do not know basic funtion for it

  • Custom User Avatar

    You've hadcoded the answer for several input values, but not all, read the error message:

    expected undefined to equal false
    

    Your code isn't failing the test of -0, it is failing another one, but as your code is wrong, it is not a kata issue. Make some code that works at least without hardcoding every test and only then open an issue if you're sure there is a problem with the tests.

  • Custom User Avatar

    Something is wrong with the basic tests (all randoms passed)

    I printed all of the ones with a result of false, but as per the description they shouldn't be true? (Added an extra condition to make the -0 into true and still fails..)

    "s2324" false
    "3 4" false
    "3-4" false
    "3 4 " false
    "-0" false

  • Custom User Avatar

    All tests pass, one fails. Shit! What do I do? I'm upset! Very upset!

  • Custom User Avatar

    Not a kata issue.

  • Custom User Avatar

    Your solution fails for s = " ".

  • Custom User Avatar

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

  • Custom User Avatar

    approved

  • Custom User Avatar
  • Loading more items...