Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Regarding the narrative, you are right, it should have been a suggestion and presented in a different comment.

    However, the narrative IS confusing and could be drastically improved.
    As I said, I actually loved the kata, I just found it incredible unintuitive to understand.

    The statement problem is actually as simple as:

    Find all possible combinations of numbers of length n that do not contain two onsecutive zeros 0.
    A zero 0 can be the leading number. e.g. 010, n=3

    and so on...

  • Custom User Avatar

    Thanks for the reply @dolamroth.

    Not an issue to the kata. Please, next time mark your questions as Question, not an Issue.

    I initially had the comment as a suggestion following exactly your logic.
    However, the fact that you only realise the space complexity of the Kata when doing it and not when assessing its complexity is an issue.

    At the end, the difficulty of the kata is not properly described in the description. That is clearly an issue with the kata.

  • Custom User Avatar

    Not an issue to the kata. Please, next time mark your questions as Question, not an Issue.

    Which numbers will be huge? Maybe just provide an example of what you mean.
    Try solving the kata without taking modulo, and you will understand. (sample tests are enough to see that)

    This sentence tripped me over. I thought it was wrong since there is a double negative.
    There is nothing ambiguous about this sentence.

    The fact that the "Blind Numbers" are the ones without 00 is unexpected and confusing given the narrative.
    00 resemble the glasses, that was probably author's intent.

  • Custom User Avatar

    I do not agree with the language usage of @Blind4Basics , but I agree with his point.
    This kata is not 6kyu at all!

    I am no expert, but if I were to be asked, I would say this is a 4kyu kata.

    Also, the performance analysis should be included in the description of the kata. Its absence is what makes people think this kata is easier than it actually is.

  • Custom User Avatar

    I like the kata although I haven't finished solving it myself.

    I do have issues with it.
    It is extremely hard to understand what the kata is about.

    The numbers will be very huge, so return the answer modulo 1000000007

    • Which numbers will be huge? Maybe just provide an example of what you mean.

    He calls numbers, that don't contain 00 (two consecutive zeros), the Blind Numbers

    • This sentence tripped me over. I thought it was wrong since there is a double negative.
    • The fact that the "Blind Numbers" are the ones without 00 is unexpected and confusing given the narrative.