Ad
  • Custom User Avatar

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

  • Default User Avatar
  • Custom User Avatar

    That's because flat is available since Node 11, but this kata is available only in Node 8. flat will work when this kata will be updated to the newer version of Node.

  • Custom User Avatar

    Approved

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Custom User Avatar

    Ah, i see the ambiguity in my statement.
    i think it's quite significantly harder than other 7kyu problems, and also requires an understanding of higher level cs and math concepts. 7kyu should be for people who are learning the syntax, keywords, and functions of a language. idk, i'm not the best with recursion, and there is a need for low level recursived katas so that people can learn about it. This one just took me like an hour.

  • Custom User Avatar

    You think it's easier or harder?

  • Custom User Avatar

    there is no universe in which this is 7kyu. this needs to be changed.

  • Default User Avatar

    This is the first kata I gave a "not satisfied" rating. While the problem itself was nice, the challenge well described and the level of difficulty adequate, the test cases should not fail due to a comment that came with the description! Especially not with a challenge that is several years old and where others remarked on that problem years ago. The test found the bigraph "os" in a word in a pre-given comment? Seriously?

  • Custom User Avatar

    This was more challenging then 7kyu for me personally, but I was specifically trying to use a recursive solution.

    I got it, but the return for my base case was not so elegant imo... But I got it lol.
    Great practice.

  • Default User Avatar

    The same

  • Custom User Avatar

    I didn't use a string and it kept accusing me of using a string

  • Default User Avatar

    imo well it depends on the situation actually but unfortunately i think it is difficult to actually return a literal with a zero in front since some languages like python prohibit base 10 integers with leading zeros
    ofc its nice to remember that for example an int literal is 32 bits long in java and that there are leading zeros there but i think for the sake of this exercise it is better to have the ints without leading ints

  • Custom User Avatar

    I think it's not necessary for 0201 to be 201

  • Custom User Avatar

    This one is pretty unsolvable if you are bad at math like me. xD Hardest part was to get result without using string.

  • Loading more items...