Ad
  • Custom User Avatar

    {'be': {'t': {}, 'g': {}}}

    Those would have the same result ("be" is a prefix of both "bet" and "beg", the initial "be" in the first example will simply have no effect/will already be there). If it helps: try going through a few examples in random order, i.e. building a tree from the same arguments, but with a different ordering of them. That way, different cases emerge and you'll see how to handle them (or whether they are so different in the end).

  • Custom User Avatar

    Can you clarify for example what would be the difference between
    radixTree("be", "bet", "beg") and radixTree("bet", "beg")
    as I am a little confused over the syntax.

  • Custom User Avatar

    I tend to agree, this is probably better ranked at 5kyu, though 6 isn't too far off, to be fair. While it has so few solvers, re-ranking is probably still very possible, though I would discuss this with the discord first to get a better idea of the average user's perspective.

  • Default User Avatar

    @WestwardLand968: Actually, they can be changed. Number of katas have been reranked or deranked. However, this involves kazk's assistance.

    @Nickkk: I agree with you, but I don't want to undertake "the administrative part". Raise this via a GitHub issue, if you want.

    Regards, suic

  • Custom User Avatar

    Rank can't be changed

  • Default User Avatar

    I think this kata is a bit too hard for 6 kyu. Consider bumping it up to 5 kyu.

  • Default User Avatar

    Oh no, it's worse. For some reason author flips labyrinth 90 degrees from it's string representation. Why?

  • Default User Avatar

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