Ad
  • Default User Avatar

    I added a sentence with your suggestion to the details:

    "If all the words in the given array mesh together, then your code should return the meshed letters in a string. You should return the longest common substring. You won't know how many letters the meshed words have in common, but it will be at least one."

  • Default User Avatar

    I changed it to:

    "If any pair of consecutive words fails to mesh, your code should return "failed to mesh"."

    Is that acceptable? Clearer?

  • Default User Avatar

    That comma and the 6 would be typos.

    Fixed.

  • Default User Avatar

    Fixed.

    Thanks for looking at it.

  • Default User Avatar

    I made some changes in the description and added some examples.
    Please take a look.

    (And, I got to use the word "behemoth". I like that word!)

  • Default User Avatar

    Thanks.
    I added that.

  • Default User Avatar

    See Issue entered by FArekkusu and the reply to the resolve the Issue.

  • Default User Avatar

    Additional static tests with names were added.
    The random tests were updated by adding names to both the start and end arrays.

    Both the new static and the new random test values in the arrays have names that can appear at the beginning of the test string, the middle of the test string or at the very end of the test string with a period at the end or no period at the end.

    Thanks for pointing that out.

  • Default User Avatar

    Hmm...I ran your solution and it didn't pass.

    The description says "The location name will also include those words: "Park", "Preserve", etc."
    Maybe that should be clearer.

  • Default User Avatar

    Your fixes are most welcome.

    I hope others can try this challenging kata. It takes time and patience. I coded many versions before finally working it out.

  • Default User Avatar

    Thanks for that explanation. I cannot get to the Python version of the kata to edit it. So, HerrWert is going to have to do it. The kata is not under my list of Authored Katas. I just added the Python version. I will keep searching for a way to get to it. It has been a long time since I added it.

  • Default User Avatar

    Thanks, Ching Ching. I am looking at this.

  • Default User Avatar

    Isse 1: Yes. I see that the example I added in the description text has a different function name. That is easily changed.
    Can you please change the test case function name from "score_pole_vault" to "solution" ?
    And, there is text just above this that reads "And example follows:".
    Can you please change this to "An example follows:" ?

    Or, can you please tell me how I can edit the kata's descrption? It does not apper under my list of Authored katas. So, I cannot get to it on that page.

    Issue 2.: In the case of ties, you may not have every place scored. So, if that is in the description text, just update the description text. But, I could not find that a peron's code needs to return an answer of 1st, 2nd and 3rd for all test cases as a requirment in the description. I will look again. The very first sentence in the description seems to imply that all places need to be determined: "Your task is to determine the top 3 places in a pole vault competition." But, the rest of the description explains that there could be ties. You could change this to something like: "Your task is to determine the placement of competitors in a pole vault competition."

    An example: There may be cases where there are two people tied for first. In that case, there wouldn't be a second place. There would be two people tied for first and one person in third.

  • Default User Avatar

    Thanks for this Kata. The keyboard made it very interesting.

  • Default User Avatar

    Thanks. I hope some people try it and take the time to figure it out.

  • Loading more items...